diff --git a/tests/EnumToArrayTest.php b/tests/EnumToArrayTest.php index ec1099a..0d00513 100644 --- a/tests/EnumToArrayTest.php +++ b/tests/EnumToArrayTest.php @@ -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 @@ -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' ]);