package authzserver;

import static org.junit.Assert.*;

public class AuthzServerApplicationTest {

}

@@ -26,77 +26,1151 @@
 ort 
-static org.junit.Assert.*;%0A%0Apublic class AuthzServerApplicationTest %7B%0A
+authzserver.AuthzServerApplication.Oauth2ServerConfig;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.springframework.beans.factory.annotation.Value;%0Aimport org.springframework.boot.test.ConfigFileApplicationContextInitializer;%0Aimport org.springframework.boot.test.IntegrationTest;%0Aimport org.springframework.boot.test.SpringApplicationConfiguration;%0Aimport org.springframework.test.annotation.DirtiesContext;%0Aimport org.springframework.test.context.ActiveProfiles;%0Aimport org.springframework.test.context.junit4.SpringJUnit4ClassRunner;%0Aimport org.springframework.test.context.web.WebAppConfiguration;%0A%0Aimport static org.junit.Assert.*;%0A%0A@RunWith(SpringJUnit4ClassRunner.class)%0A@SpringApplicationConfiguration(classes = %7BAuthzServerApplication.class, Oauth2ServerConfig.class%7D, initializers = ConfigFileApplicationContextInitializer.class)%0A@WebAppConfiguration%0A@IntegrationTest(%22server.port:0%22)%0A@DirtiesContext%0A@ActiveProfiles(%22dev%22)%0Apublic class AuthzServerApplicationTest %7B%0A  @Value(%22$%7Blocal.server.port%7D%22)%0A  private int port;%0A%0A  @Test%0A  public void testItBoots() throws Exception %7B%0A    assertTrue(%22It boots%22, true);%0A%0A  %7D
 %0A%7D%0A

Add integration test so that flyway creates schema on bamboo.