Skip to content

Commit 635ddb8

Browse files
committed
Update PHPUnit method
1 parent 5f37506 commit 635ddb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Integration/Models/ThreadTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public function it_generates_a_slug_when_invalid_url_characters_provided()
108108
$thread = Thread::factory()->make(['slug' => '한글 테스트']);
109109

110110
// When providing a slug with invalid url characters, a random 5 character string is returned.
111-
$this->assertRegExp('/\w{5}/', $thread->slug());
111+
$this->assertMatchesRegularExpression('/\w{5}/', $thread->slug());
112112
}
113113

114114
private function createThreadFromToday(): Thread

0 commit comments

Comments
 (0)