dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a857f6
)
Remove no-op parameter from UIDGeneratorTest
author
Reedy
<reedy@wikimedia.org>
Sun, 24 Jan 2016 12:39:47 +0000
(12:39 +0000)
committer
Reedy
<reedy@wikimedia.org>
Sun, 24 Jan 2016 12:39:47 +0000
(12:39 +0000)
Change-Id: Ifdbfa007d7f5011403572d3bf2e1ac559ad93458
tests/phpunit/includes/utils/UIDGeneratorTest.php
patch
|
blob
|
history
diff --git
a/tests/phpunit/includes/utils/UIDGeneratorTest.php
b/tests/phpunit/includes/utils/UIDGeneratorTest.php
index
7123b94
..
e79a6b0
100644
(file)
--- a/
tests/phpunit/includes/utils/UIDGeneratorTest.php
+++ b/
tests/phpunit/includes/utils/UIDGeneratorTest.php
@@
-79,7
+79,7
@@
class UIDGeneratorTest extends PHPUnit_Framework_TestCase {
preg_match( '!^[0-9a-f]{12}1[0-9a-f]{3}[89ab][0-9a-f]{15}$!', $id ),
"UID $id has the right format" );
- $id = UIDGenerator::newRawUUIDv1(
UIDGenerator::QUICK_RAND
);
+ $id = UIDGenerator::newRawUUIDv1();
$this->assertEquals( true,
preg_match( '!^[0-9a-f]{12}1[0-9a-f]{3}[89ab][0-9a-f]{15}$!', $id ),
"UID $id has the right format" );