Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1365 from remicollet/issue-bugendian
Browse files Browse the repository at this point in the history
skip test failing on bigendian
  • Loading branch information
fzaninotto authored Nov 30, 2017
2 parents 33f67e2 + ce3a023 commit 561aeb7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/Faker/Provider/UuidTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ public function testUuidReturnsUuid()

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());
Expand Down

0 comments on commit 561aeb7

Please # to comment.