Skip to content

Commit 3e35015

Browse files
authored
Refactor test providers and constructor property visibility (#7444)
1 parent 5548d35 commit 3e35015

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/StrTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -431,12 +431,6 @@ public function testValidUrls($url)
431431
$this->assertTrue(Str::isUrl($url));
432432
}
433433

434-
#[DataProvider('invalidUrls')]
435-
public function testInvalidUrls($url)
436-
{
437-
$this->assertFalse(Str::isUrl($url));
438-
}
439-
440434
public static function validUrls()
441435
{
442436
return [
@@ -679,6 +673,12 @@ public static function validUrls()
679673
];
680674
}
681675

676+
#[DataProvider('invalidUrls')]
677+
public function testInvalidUrls($url)
678+
{
679+
$this->assertFalse(Str::isUrl($url));
680+
}
681+
682682
public static function invalidUrls()
683683
{
684684
return [

0 commit comments

Comments
 (0)