summaryrefslogtreecommitdiff
path: root/sw-server/src
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-08-20 15:36:49 +0200
committerJoffrey Bion <joffrey.bion@booking.com>2020-08-20 16:08:49 +0200
commit7780d36b540814018b468884d03025d464cd5205 (patch)
tree21ac4bb1acf1b126bf805f55555d10a25aa420db /sw-server/src
parentFix style & sort imports (diff)
downloadseven-wonders-7780d36b540814018b468884d03025d464cd5205.tar.gz
seven-wonders-7780d36b540814018b468884d03025d464cd5205.tar.bz2
seven-wonders-7780d36b540814018b468884d03025d464cd5205.zip
Upgrade ktlint and re-enable import order check
Diffstat (limited to 'sw-server/src')
-rw-r--r--sw-server/src/test/kotlin/org/luxons/sevenwonders/server/SevenWondersTest.kt11
1 files changed, 9 insertions, 2 deletions
diff --git a/sw-server/src/test/kotlin/org/luxons/sevenwonders/server/SevenWondersTest.kt b/sw-server/src/test/kotlin/org/luxons/sevenwonders/server/SevenWondersTest.kt
index b4bfbd9d..0150258c 100644
--- a/sw-server/src/test/kotlin/org/luxons/sevenwonders/server/SevenWondersTest.kt
+++ b/sw-server/src/test/kotlin/org/luxons/sevenwonders/server/SevenWondersTest.kt
@@ -1,7 +1,11 @@
package org.luxons.sevenwonders.server
-import kotlinx.coroutines.*
+import kotlinx.coroutines.FlowPreview
+import kotlinx.coroutines.delay
import kotlinx.coroutines.flow.produceIn
+import kotlinx.coroutines.launch
+import kotlinx.coroutines.withTimeout
+import kotlinx.coroutines.withTimeoutOrNull
import org.junit.runner.RunWith
import org.luxons.sevenwonders.client.SevenWondersClient
import org.luxons.sevenwonders.client.SevenWondersSession
@@ -10,7 +14,10 @@ import org.springframework.boot.test.context.SpringBootTest
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment
import org.springframework.boot.web.server.LocalServerPort
import org.springframework.test.context.junit4.SpringRunner
-import kotlin.test.*
+import kotlin.test.Test
+import kotlin.test.assertEquals
+import kotlin.test.assertNotNull
+import kotlin.test.assertNull
@OptIn(FlowPreview::class)
@RunWith(SpringRunner::class)
bgstack15