diff --git a/.gitignore b/.gitignore index baeba60..78fb16d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /build *.ipr *.iws +dcproject.iml \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index e17ff15..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/modules/dcproject.main.iml b/.idea/modules/dcproject.main.iml deleted file mode 100644 index 8d41cf1..0000000 --- a/.idea/modules/dcproject.main.iml +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/modules/dcproject.test.iml b/.idea/modules/dcproject.test.iml deleted file mode 100644 index eeae6fc..0000000 --- a/.idea/modules/dcproject.test.iml +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/dcproject.iml b/dcproject.iml deleted file mode 100644 index a1ab76f..0000000 --- a/dcproject.iml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/test/ApplicationTest.kt b/test/ApplicationTest.kt index f0ff9d8..c07e918 100644 --- a/test/ApplicationTest.kt +++ b/test/ApplicationTest.kt @@ -10,7 +10,7 @@ import kotlin.test.assertEquals class ApplicationTest { @Test fun testRoot() { - withTestApplication({ module(testing = true) }) { + withTestApplication({ module() }) { handleRequest(HttpMethod.Get, "/articles").apply { assertEquals(HttpStatusCode.OK, response.status()) assertEquals("todo", response.content)