aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/org/berzerkula/builddb/BuilddbApplicationTest.java
blob: fa821644c248a0d5196a77bc16352aefcbedef3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package org.berzerkula.builddb;

import org.junit.jupiter.api.Assertions;
import org.berzerkula.builddb.services.AppUserService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
class BuilddbApplicationTest {

    @Autowired
    AppUserService appUserService;

    @Test
    void contextLoads() {
        Assertions.assertNotNull(appUserService);
    }

    @Test
    void mainTest() {
        Assertions.assertDoesNotThrow(() -> BuilddbApplication.main(new String[]{}));
    }
}