Skip to content

Commit

Permalink
Fix condition for skipping 32 bit systems
Browse files Browse the repository at this point in the history
  • Loading branch information
ceeram committed Sep 24, 2014
1 parent 5ee9441 commit 2b93198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase/Database/TypeTest.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public function testIntegerToStatement() {
*/ */
public function testBigintegerToPHP() { public function testBigintegerToPHP() {
$this->skipIf( $this->skipIf(
isset($_SERVER['PROCESSOR_ARCHITECTURE']) && $_SERVER['PROCESSOR_ARCHITECTURE'] === 'x86', PHP_INT_SIZE === 4,
'This test requires a php version compiled for 64 bits' 'This test requires a php version compiled for 64 bits'
); );
$type = Type::build('biginteger'); $type = Type::build('biginteger');
Expand Down

0 comments on commit 2b93198

Please sign in to comment.