Skip to content
Permalink
Browse files

[Tests] PHPUnit Optimizations

  • Loading branch information...
lyrixx committed Sep 20, 2014
1 parent 1be7acd commit 957fbb2cd95a2509bdf7a97ff0be09205bdd308b
@@ -30,7 +30,7 @@ public function test()
->will($this->returnValue(true))
;
$this->assertEquals(true, $writeCheckSessionHandler->close());
$this->assertTrue($writeCheckSessionHandler->close());
}
public function testWrite()
@@ -45,7 +45,7 @@ public function testWrite()
->will($this->returnValue(true))
;
$this->assertEquals(true, $writeCheckSessionHandler->write('foo', 'bar'));
$this->assertTrue($writeCheckSessionHandler->write('foo', 'bar'));
}
public function testSkippedWrite()
@@ -66,7 +66,7 @@ public function testSkippedWrite()
;
$this->assertEquals('bar', $writeCheckSessionHandler->read('foo'));
$this->assertEquals(true, $writeCheckSessionHandler->write('foo', 'bar'));
$this->assertTrue($writeCheckSessionHandler->write('foo', 'bar'));
}
public function testNonSkippedWrite()
@@ -89,6 +89,6 @@ public function testNonSkippedWrite()
;
$this->assertEquals('bar', $writeCheckSessionHandler->read('foo'));
$this->assertEquals(true, $writeCheckSessionHandler->write('foo', 'baZZZ'));
$this->assertTrue($writeCheckSessionHandler->write('foo', 'baZZZ'));
}
}

0 comments on commit 957fbb2

Please sign in to comment.
You can’t perform that action at this time.