Skip to content

Commit

Permalink
Fixed EnumToArrayTest returns_enum_v2_default_string_value_when_attri…
Browse files Browse the repository at this point in the history
…bute_is_null
  • Loading branch information
Nick Rupert committed Sep 20, 2019
1 parent 631fab6 commit bfe19d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/EnumToArrayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
namespace Konekt\Enum\Eloquent\Tests;

use Konekt\Enum\Eloquent\Tests\Models\Order;
use Konekt\Enum\Eloquent\Tests\Models\OrderV2;
use Konekt\Enum\Eloquent\Tests\Models\OrderStatus;

class EnumToArrayTest extends TestCase
Expand Down Expand Up @@ -99,7 +100,7 @@ public function returns_enum_v2_default_string_value_when_attribute_is_null()
return;
}

$order = new Order([
$order = new OrderV2([
'number' => 'abc123'
]);

Expand Down

0 comments on commit bfe19d3

Please sign in to comment.