forked from matyzatka/BankAppBackend
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding spring boot (inital smoke) test,
- Loading branch information
Showing
2 changed files
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 15 additions & 1 deletion
16
src/test/java/mzatka/bankappbackend/BankAppBackendApplicationTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,20 @@ | ||
package mzatka.bankappbackend; | ||
|
||
import static org.junit.jupiter.api.Assertions.assertNotNull; | ||
import org.junit.jupiter.api.Test; | ||
import org.springframework.beans.factory.annotation.Autowired; | ||
import org.springframework.boot.test.context.SpringBootTest; | ||
import org.springframework.context.ApplicationContext; | ||
|
||
@SpringBootTest | ||
class BankAppBackendApplicationTest {} | ||
class BankAppBackendApplicationTest { | ||
|
||
@Autowired | ||
ApplicationContext context; | ||
|
||
@Test | ||
public void testContextLoads() { | ||
assertNotNull(context); | ||
} | ||
|
||
} |