Skip to content

Commit 4218fc4

Browse files
committed
Lint test
1 parent f8c8716 commit 4218fc4

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/test/kotlin/no/java/conf/StateTest.kt

-8
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@ import io.ktor.client.request.get
55
import io.ktor.client.statement.bodyAsText
66
import io.ktor.http.HttpStatusCode
77
import io.ktor.server.testing.testApplication
8-
import io.mockk.every
98
import io.mockk.mockk
109
import kotlinx.coroutines.runBlocking
1110
import no.java.conf.plugins.configureSearchRouting
1211
import no.java.conf.service.SearchService
1312
import kotlin.test.Test
1413
import kotlin.test.assertEquals
15-
import kotlin.test.assertTrue
1614

1715
class StateTest {
1816
@Test
@@ -22,7 +20,6 @@ class StateTest {
2220
val service = SearchService(searchClient, false)
2321

2422
testApplication {
25-
2623
application {
2724
configureSearchRouting(service)
2825
}
@@ -34,15 +31,13 @@ class StateTest {
3431
}
3532
}
3633

37-
3834
@Test
3935
fun testSkipIndex() {
4036
val searchClient = mockk<SearchClient>()
4137

4238
val service = SearchService(searchClient, true)
4339

4440
testApplication {
45-
4641
application {
4742
configureSearchRouting(service)
4843
}
@@ -65,7 +60,6 @@ class StateTest {
6560
}
6661

6762
testApplication {
68-
6963
application {
7064
configureSearchRouting(service)
7165
}
@@ -77,7 +71,6 @@ class StateTest {
7771
}
7872
}
7973

80-
8174
@Test
8275
fun testSkipIndexIndexed() {
8376
val searchClient = mockk<SearchClient>()
@@ -90,7 +83,6 @@ class StateTest {
9083
}
9184

9285
testApplication {
93-
9486
application {
9587
configureSearchRouting(service)
9688
}

0 commit comments

Comments
 (0)