From 996fceb0e14915d3d2d3864475382d7ab4effd2d Mon Sep 17 00:00:00 2001 From: freek Date: Fri, 27 Jul 2018 07:25:59 -0500 Subject: [PATCH] nitpick --- tests/HasStatusesTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }