diff --git a/tests/HasStatusesTest.php b/tests/HasStatusesTest.php index 8f7357a..9732c2e 100644 --- a/tests/HasStatusesTest.php +++ b/tests/HasStatusesTest.php @@ -104,9 +104,9 @@ public function it_can_handle_an_empty_reason_when_setting_a_status() } /** @test */ - public function it_stores_null_for_an_empty_reason_when_setting_a_status() + public function it_allows_null_for_an_empty_reason_when_setting_a_status() { - $this->testModel->setStatus('status'); + $this->testModel->setStatus('status', null); $this->assertNull($this->testModel->status()->reason); }