Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamKyle committed Nov 21, 2023
1 parent 3973650 commit 3aec0d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions app/Game/Kingdoms/Handlers/Traits/DestroyKingdom.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ public function destroyKingdom(Kingdom $kingdom, ?Character $character = null):
}

if (is_null($character)) {
$this->rebuildCharacterKingdomCache($character);

event(new UpdateNPCKingdoms($gameMap));
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ class GlobalEventForEventTypeValueTest extends TestCase {

public function testGetWinterEventGlobalEventGoalData() {
$expected = [
'max_kills' => 19000,
'reward_every_kills' => 1000,
'next_reward_at' => 1000,
'max_kills' => 190000,
'reward_every_kills' => 10000,
'next_reward_at' => 10000,
'event_type' => EventType::WINTER_EVENT,
'item_specialty_type_reward' => ItemSpecialtyType::CORRUPTED_ICE,
'should_be_unique' => true,
Expand Down

0 comments on commit 3aec0d7

Please sign in to comment.