Remove no-op parameter from UIDGeneratorTest
authorReedy <reedy@wikimedia.org>
Sun, 24 Jan 2016 12:39:47 +0000 (12:39 +0000)
committerReedy <reedy@wikimedia.org>
Sun, 24 Jan 2016 12:39:47 +0000 (12:39 +0000)
Change-Id: Ifdbfa007d7f5011403572d3bf2e1ac559ad93458

tests/phpunit/includes/utils/UIDGeneratorTest.php

index 7123b94..e79a6b0 100644 (file)
@@ -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" );