Skip to content

Commit

Permalink
Fix a few tests
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Jan 6, 2014
1 parent 64a0734 commit 39f0185
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/josegonzalez/Queuesadilla/Backend/MysqlBackendTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,15 @@ public function testConnect()
*/
public function testDelete()
{
$this->assertTrue($this->Backend->delete(null));
$this->assertFalse($this->Backend->delete(null));
}

/**
* @covers josegonzalez\Queuesadilla\Backend\MysqlBackend::pop
*/
public function testPop()
{
$this->assertTrue($this->Backend->pop('default'));

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

/**
Expand All @@ -72,7 +69,7 @@ public function testPush()
*/
public function testRelease()
{
$this->assertTrue($this->Backend->release(null, 'default'));
$this->assertFalse($this->Backend->release(null, 'default'));
}

}

0 comments on commit 39f0185

Please sign in to comment.