ALPHA 3.0.2a

This commit is contained in:
TheGamecraft
2018-09-10 08:51:18 -04:00
parent 7fe13ae0a7
commit 0e0ef86b71
1404 changed files with 10604 additions and 33714 deletions

View File

@@ -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());