mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[ticket/17176] Remove no longer needed backward compatible phpunit code
PHPBB3-17176
This commit is contained in:
@@ -44,7 +44,7 @@ class phpbb_random_gen_rand_string_test extends phpbb_test_case
|
||||
$random_string_length == $num_chars,
|
||||
sprintf('Failed asserting that random string length matches expected length. Expected %1$u, Actual %2$u', $num_chars, $random_string_length)
|
||||
);
|
||||
$this->assertRegExp('#^[A-Z0-9]+$#', $random_string);
|
||||
$this->assertMatchesRegularExpression('#^[A-Z0-9]+$#', $random_string);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -63,7 +63,7 @@ class phpbb_random_gen_rand_string_test extends phpbb_test_case
|
||||
$random_string_length == $num_chars,
|
||||
sprintf('Failed asserting that random string length matches expected length. Expected %1$u, Actual %2$u', $num_chars, $random_string_length)
|
||||
);
|
||||
$this->assertRegExp('#^[A-NP-Z1-9]+$#', $random_string);
|
||||
$this->assertMatchesRegularExpression('#^[A-NP-Z1-9]+$#', $random_string);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user