diff options
author | Remi Collet <remi@remirepo.net> | 2017-11-28 16:05:57 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-11-28 16:05:57 +0100 |
commit | 4a5e8aba9e0a47e06d41530ce49a02a1b16361a6 (patch) | |
tree | 2706a6091b06e57eb061a03fcb37d0c19bc06d30 /php-Faker-bigendian.patch | |
parent | 1ab207eebf4780984490d0aeb0ded203bd458731 (diff) |
patches...
Diffstat (limited to 'php-Faker-bigendian.patch')
-rw-r--r-- | php-Faker-bigendian.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/php-Faker-bigendian.patch b/php-Faker-bigendian.patch new file mode 100644 index 0000000..39eb713 --- /dev/null +++ b/php-Faker-bigendian.patch @@ -0,0 +1,14 @@ +diff --git a/test/Faker/Provider/UuidTest.php b/test/Faker/Provider/UuidTest.php +index ebd4ae4..5c639ca 100644 +--- a/test/Faker/Provider/UuidTest.php ++++ b/test/Faker/Provider/UuidTest.php +@@ -16,6 +16,9 @@ class UuidTest extends 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()); |