Skip to content

Commit

Permalink
Merge pull request #1 from xerx593/main
Browse files Browse the repository at this point in the history
adding spring boot (inital smoke) test, workaround for spring-projects/spring-framework#29215
  • Loading branch information
matyzatka committed Oct 3, 2022
2 parents 9583649 + 4931d4f commit f2e2d20
Showing 1 changed file with 9 additions and 1 deletion.
@@ -1,11 +1,19 @@
package mzatka.bankappbackend;

import static org.junit.jupiter.api.Assertions.assertNotNull;
import org.springframework.beans.factory.annotation.Autowired;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.context.ApplicationContext;

@SpringBootTest
class BankAppBackendApplicationTest {

@Autowired
ApplicationContext context;

@Test
void contextLoads() {}
public void testContextLoads() {
assertNotNull(context);
}
}

0 comments on commit f2e2d20

Please sign in to comment.