Yi EungJun 2015-01-07
Fix the failure of MarkdownAppTest
CallAction should be called after the app starts.

This test seems to be broken since we start to use play-2.3. I wonder
why this test passed when we used play-2.1.
@a8c774e62fc62eafbad72652d165e1fd5a8f53c6
test/controllers/MarkdownAppTest.java
--- test/controllers/MarkdownAppTest.java
+++ test/controllers/MarkdownAppTest.java
@@ -46,15 +46,16 @@
     @BeforeClass
     public static void beforeClass() {
         GitRepository.setRepoPrefix("resources/test/repo/git/");
-        callAction(
-                routes.ref.Application.init()
-        );
         Map<String, String> config = support.Helpers.makeTestConfig();
         config.put("signup.require.confirm", "true");
 
         app = support.Helpers.makeTestApplication(config);
         Helpers.start(app);
 
+        callAction(
+                routes.ref.Application.init()
+        );
+
         testOwner = createUser("testOwner", "testOwner@naver.com");
         testProject = createProject(testOwner, "testProject");
 
Add a comment
List