mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 10:49:10 -04:00
ALPHA 3.0.2a
This commit is contained in:
@@ -4,8 +4,9 @@ namespace Faker\Test\Provider;
|
||||
|
||||
use Faker\Generator;
|
||||
use Faker\Provider\Uuid as BaseProvider;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class UuidTest extends \PHPUnit_Framework_TestCase
|
||||
class UuidTest extends TestCase
|
||||
{
|
||||
public function testUuidReturnsUuid()
|
||||
{
|
||||
@@ -15,6 +16,9 @@ class UuidTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
public function testUuidExpectedSeed()
|
||||
{
|
||||
if (pack('L', 0x6162797A) == pack('N', 0x6162797A)) {
|
||||
$this->markTestSkipped('Big Endian');
|
||||
}
|
||||
$faker = new Generator();
|
||||
$faker->seed(123);
|
||||
$this->assertEquals("8e2e0c84-50dd-367c-9e66-f3ab455c78d6", BaseProvider::uuid());
|
||||
|
||||
Reference in New Issue
Block a user