Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
nabbl committed Jan 26, 2018
1 parent 381e43d commit d19523f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions gs-rest-service.iml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/config" type="java-test-resource" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/jasperapp/JasperEndpointControllerTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.TestPropertySource;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.MvcResult;
Expand All @@ -41,6 +42,7 @@

@RunWith(SpringRunner.class)
@SpringBootTest
@TestPropertySource(properties = "reports.directory=/src/test/resources/")
@AutoConfigureMockMvc
public class JasperEndpointControllerTests {

Expand Down

0 comments on commit d19523f

Please sign in to comment.