Skip to content

Commit

Permalink
Skiping a test that will not run in x86
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Apr 12, 2014
1 parent ac4f236 commit 4d6f809
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/TestCase/Database/TypeTest.php
Expand Up @@ -203,6 +203,10 @@ public function testIntegerToStatement() {
* @return void
*/
public function testBigintegerToPHP() {
$this->skipIf(
isset($_SERVER['PROCESSOR_ARCHITECTURE']) && $_SERVER['PROCESSOR_ARCHITECTURE'] === 'x86',
'This test requires a php version compiled for 64 bits'
);
$type = Type::build('biginteger');
$integer = time() * time();
$driver = $this->getMock('\Cake\Database\Driver');
Expand Down

0 comments on commit 4d6f809

Please sign in to comment.