Skip to content

Commit

Permalink
Merge pull request #192 from conedevelopment/szepeviktor-patch-1
Browse files Browse the repository at this point in the history
Fix domain in SlugTest
  • Loading branch information
iamgergo authored Jan 24, 2024
2 parents 7eb7e83 + c2518e0 commit 3e2c42c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Fields/SlugTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
]);
Expand All @@ -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);
}
}

0 comments on commit 3e2c42c

Please sign in to comment.