Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Jan 5, 2014
1 parent bca204a commit 85b95f7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/josegonzalez/Queuesadilla/Backend/TestBackendTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function testConnect()
$this->assertTrue($this->Backend->connect());

$this->Backend->return = false;
$this->assertTrue($this->Backend->connect());
$this->assertFalse($this->Backend->connect());
}

/**
Expand All @@ -38,7 +38,7 @@ public function testDelete()
$this->assertTrue($this->Backend->delete(null));

$this->Backend->return = false;
$this->assertTrue($this->Backend->delete(null));
$this->assertFalse($this->Backend->delete(null));
}

/**
Expand All @@ -49,7 +49,7 @@ public function testPop()
$this->assertTrue($this->Backend->pop('default'));

$this->Backend->return = false;
$this->assertTrue($this->Backend->pop('default'));
$this->assertFalse($this->Backend->pop('default'));
}

/**
Expand All @@ -60,7 +60,7 @@ public function testPush()
$this->assertTrue($this->Backend->push(null, array(), 'default'));

$this->Backend->return = false;
$this->assertTrue($this->Backend->connect(null, array(), 'default'));
$this->assertFalse($this->Backend->connect(null, array(), 'default'));
}

/**
Expand All @@ -71,7 +71,7 @@ public function testRelease()
$this->assertTrue($this->Backend->release(null, 'default'));

$this->Backend->return = false;
$this->assertTrue($this->Backend->release(null, 'default'));
$this->assertFalse($this->Backend->release(null, 'default'));
}

}

0 comments on commit 85b95f7

Please sign in to comment.