summaryrefslogtreecommitdiffstats
path: root/php-Faker-bigendian.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-Faker-bigendian.patch')
-rw-r--r--php-Faker-bigendian.patch14
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());