Skip to content

Commit

Permalink
Replace assertInternalType('boolean', ...) with assertIsBool(...) bec…
Browse files Browse the repository at this point in the history
…ause it's been deprecated
  • Loading branch information
litvinjuan committed Mar 4, 2020
1 parent 0fc775a commit 4828dee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/EnumAccessorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function it_can_still_read_casted_fields()

$this->assertNotNull($order->id);
$this->assertInstanceOf(\DateTime::class, $order->created_at);
$this->assertInternalType('boolean', $order->is_active);
$this->assertIsBool($order->is_active);
}

/**
Expand Down

0 comments on commit 4828dee

Please sign in to comment.