Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testcase compilation error fixes #1589

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
/***********************************************************************************
* Copyright (c) 2024 /// Project SWG /// www.projectswg.com *
* *
* ProjectSWG is the first NGE emulator for Star Wars Galaxies founded on *
* ProjectSWG is an emulation project for Star Wars Galaxies founded on *
* July 7th, 2011 after SOE announced the official shutdown of Star Wars Galaxies. *
* Our goal is to create an emulator which will provide a server for players to *
* continue playing a game similar to the one they used to play. We are basing *
* it on the final publish of the game prior to end-game events. *
* Our goal is to create one or more emulators which will provide servers for *
* players to continue playing a game similar to the one they used to play. *
* *
* This file is part of Holocore. *
* *
Expand Down Expand Up @@ -48,9 +47,9 @@ class CloningTest : AcceptanceTest() {

@Test
fun `possible to clone after being deathblown`() {
addUser("username", "password", AccessLevel.DEV)
val character1 = HeadlessSWGClient.createZonedInCharacter("username", "password", "charone")
val character2 = HeadlessSWGClient.createZonedInCharacter("username", "password", "chartwo")
val user = generateUser(AccessLevel.DEV)
val character1 = HeadlessSWGClient.createZonedInCharacter(user.username, user.password, "charone")
val character2 = HeadlessSWGClient.createZonedInCharacter(user.username, user.password, "chartwo")
character1.duel(character2.player.creatureObject)
character2.duel(character1.player.creatureObject)
character1.adminKill(character2.player.creatureObject)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
/***********************************************************************************
* Copyright (c) 2024 /// Project SWG /// www.projectswg.com *
* *
* ProjectSWG is the first NGE emulator for Star Wars Galaxies founded on *
* ProjectSWG is an emulation project for Star Wars Galaxies founded on *
* July 7th, 2011 after SOE announced the official shutdown of Star Wars Galaxies. *
* Our goal is to create an emulator which will provide a server for players to *
* continue playing a game similar to the one they used to play. We are basing *
* it on the final publish of the game prior to end-game events. *
* Our goal is to create one or more emulators which will provide servers for *
* players to continue playing a game similar to the one they used to play. *
* *
* This file is part of Holocore. *
* *
Expand Down Expand Up @@ -74,9 +73,9 @@ class KillAdminCommandTest : AcceptanceTest() {

@Test
fun killPlayer() {
addUser("username", "password", AccessLevel.DEV)
val character1 = HeadlessSWGClient.createZonedInCharacter("username", "password", "charone")
val character2 = HeadlessSWGClient.createZonedInCharacter("username", "password", "chartwo")
val user = generateUser(AccessLevel.DEV)
val character1 = HeadlessSWGClient.createZonedInCharacter(user.username, user.password, "charone")
val character2 = HeadlessSWGClient.createZonedInCharacter(user.username, user.password, "chartwo")

character1.adminKill(character2.player.creatureObject)

Expand Down