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

Commit

Permalink
skip test failing on bigendian
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Nov 29, 2017
1 parent 9cda1a4 commit ce3a023
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 ce3a023

Please sign in to comment.