From 7374d690156c5a1b26d673150a16c21a024b6fd7 Mon Sep 17 00:00:00 2001 From: Jasper Tey Date: Sun, 17 Nov 2024 16:56:06 -0500 Subject: [PATCH] Try restoring factory instance assertion. --- tests/Autoload/FactoryTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Autoload/FactoryTest.php b/tests/Autoload/FactoryTest.php index 3b49942..2de51c0 100644 --- a/tests/Autoload/FactoryTest.php +++ b/tests/Autoload/FactoryTest.php @@ -62,6 +62,9 @@ expect(Factory::resolveFactoryName($modelClass)) ->toEqual('Database\Factories\RegularModelFactory'); + + expect($modelClass::factory()) + ->toBeInstanceOf('Database\Factories\RegularModelFactory'); }); });