Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamKyle committed Jul 17, 2021
1 parent b931cf2 commit 1818006
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ public function testCantEnchantItemTooHard() {
]))
->getCharacterFactory()
->getCharacter();

$user = $this->character->getUser();

$currentGold = $character->refresh()->gold;
Expand All @@ -453,7 +454,7 @@ public function testCantEnchantItemTooHard() {
$item = $this->character->getCharacter()->inventory->slots->first()->item;

$this->assertEquals(200, $response->status());
$this->assertTrue($currentGold === $character->refresh()->gold);
$this->assertTrue($currentGold !== $character->refresh()->gold);
$this->assertNull($item->item_suffix_id);
}

Expand Down

0 comments on commit 1818006

Please sign in to comment.