From f75a61f1ab2953be74bc3f0973748c8950a27ef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Wed, 24 Jan 2024 12:20:00 +0100 Subject: [PATCH 1/2] Fix domain in SlugTest --- tests/Fields/SlugTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Fields/SlugTest.php b/tests/Fields/SlugTest.php index 5f6d62c0..a848e25c 100644 --- a/tests/Fields/SlugTest.php +++ b/tests/Fields/SlugTest.php @@ -32,7 +32,7 @@ public function test_a_slug_field_can_be_nullable(): void public function test_a_slug_field_generates_value_from_model_attributes(): void { $user = new User([ - 'email' => 'test@foo.com', + 'email' => 'test@cone.test', 'name' => 'Test', 'password' => 'secret', ]); From c2518e019158be1be7b90a61838b0ab1d49a2f0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Wed, 24 Jan 2024 12:23:09 +0100 Subject: [PATCH 2/2] fix test --- tests/Fields/SlugTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Fields/SlugTest.php b/tests/Fields/SlugTest.php index a848e25c..6009b30e 100644 --- a/tests/Fields/SlugTest.php +++ b/tests/Fields/SlugTest.php @@ -45,6 +45,6 @@ public function test_a_slug_field_generates_value_from_model_attributes(): void $user->save(); - $this->assertSame('test_at_foocom', $user->name); + $this->assertSame('test_at_conetest', $user->name); } }