Skip to content

Commit

Permalink
Fix issue #2 - SaveAfterTests fail on AssertNull
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwi-commerce committed Mar 22, 2019
1 parent 2ccdc4b commit 4e4da2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Test/Unit/Observer/SaveAfterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function testExecute()
->with($this->objectMock)
->willReturnSelf();

$this->assertNull($this->saveAfter->execute($this->observerMock));
$this->assertTrue($this->saveAfter->execute($this->observerMock));
}

/**
Expand Down Expand Up @@ -154,6 +154,6 @@ public function testExecuteGetCheckIfIsNewReturnFalse()
->with($this->objectMock)
->willReturnSelf();

$this->assertNull($this->saveAfter->execute($this->observerMock));
$this->assertTrue($this->saveAfter->execute($this->observerMock));
}
}

0 comments on commit 4e4da2d

Please sign in to comment.