From 8ad4b3036a51621c474b2b5b22385343b6a7f562 Mon Sep 17 00:00:00 2001 From: Steve Bauman Date: Tue, 7 Nov 2023 00:14:00 -0500 Subject: [PATCH] Fix test --- tests/Unit/Models/ModelEventTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Unit/Models/ModelEventTest.php b/tests/Unit/Models/ModelEventTest.php index 89c9ece1..8dd2a07b 100644 --- a/tests/Unit/Models/ModelEventTest.php +++ b/tests/Unit/Models/ModelEventTest.php @@ -151,9 +151,9 @@ public function test_deleting_model_fires_events() class ModelQueryBuilderSaveStub extends Builder { - public function insert(string $dn, array $attributes): bool + public function insertAndGetDn(string $dn, array $attributes): string|false { - return true; + return $dn; } public function update(string $dn, array $modifications): bool