Fix exception message assertion

This commit is contained in:
Aztech
2015-08-14 23:15:31 +02:00
parent 5d2f77a21d
commit 2f6ba8da74
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -1112,8 +1112,7 @@ final class Uuid
throw new Exception\UnsatisfiedDependencyException(
'When calling ' . __METHOD__ . ' on a 32-bit system, '
. 'Moontoast\Math\BigNumber must be present in order '
. 'to generate version 1 UUIDs'
. 'Moontoast\Math\BigNumber must be present'
);
}
+1 -1
View File
@@ -1830,7 +1830,7 @@ class UuidTest extends TestCase
/**
* @covers Rhumsaa\Uuid\Uuid::getInteger
* @expectedException Rhumsaa\Uuid\Exception\UnsatisfiedDependencyException
* @expectedExceptionMessage Cannot call Rhumsaa\Uuid\Uuid::getInteger without support for large integers
* @expectedExceptionMessage When calling Rhumsaa\Uuid\Uuid::calculateUuidTime on a 32-bit system, Moontoast\Math\BigNumber must be present
*/
public function testGetInteger()
{