Code cleanup
Reorganised imports Removed redundant qualifiers
This commit is contained in:
@@ -49,7 +49,7 @@ object TestUtils {
|
||||
val p = MockPlayer(name, isBot)
|
||||
p.ironmanManager.mode = ironman
|
||||
p.details.accountInfo.uid = uidCounter++
|
||||
p.setPlaying(true);
|
||||
p.setPlaying(true)
|
||||
p.playerFlags.lastSceneGraph = p.location ?: ServerConstants.HOME_LOCATION
|
||||
Repository.addPlayer(p)
|
||||
//Update sequence has a separate list of players for some reason...
|
||||
|
||||
@@ -108,7 +108,7 @@ class PathfinderTests {
|
||||
npc.init()
|
||||
GameWorld.Pulser.submit(object : MovementPulse(p, npc) {
|
||||
override fun pulse(): Boolean {
|
||||
return true;
|
||||
return true
|
||||
}
|
||||
})
|
||||
TestUtils.advanceTicks(10, false)
|
||||
@@ -124,7 +124,7 @@ class PathfinderTests {
|
||||
npc.init()
|
||||
GameWorld.Pulser.submit(object : MovementPulse(p, npc) {
|
||||
override fun pulse(): Boolean {
|
||||
return true;
|
||||
return true
|
||||
}
|
||||
})
|
||||
TestUtils.advanceTicks(10, false)
|
||||
@@ -141,7 +141,7 @@ class PathfinderTests {
|
||||
npc.init()
|
||||
GameWorld.Pulser.submit(object : MovementPulse(p, npc, DestinationFlag.ENTITY) {
|
||||
override fun pulse(): Boolean {
|
||||
return true;
|
||||
return true
|
||||
}
|
||||
})
|
||||
TestUtils.advanceTicks(10, false)
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
package core.auth
|
||||
|
||||
import core.storage.InMemoryStorageProvider
|
||||
import org.junit.jupiter.api.Assertions
|
||||
import org.junit.jupiter.api.Test
|
||||
import core.auth.DevelopmentAuthenticator
|
||||
import core.auth.AuthResponse
|
||||
import core.auth.UserAccountInfo
|
||||
import core.storage.InMemoryStorageProvider
|
||||
|
||||
class DevelopmentAuthenticatorTests {
|
||||
private val authProvider = DevelopmentAuthenticator()
|
||||
|
||||
Reference in New Issue
Block a user