Skip to content

Commit

Permalink
Update tests/ZendTest/Cache/Storage/Adapter/CommonAdapterTest.php
Browse files Browse the repository at this point in the history
Removed strict check to just make it PRS-2 compliant
  • Loading branch information
RWOverdijk committed Aug 10, 2012
1 parent 1f1fea2 commit d76ef2c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/ZendTest/Cache/Storage/Adapter/CommonAdapterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ public function testTouchItemsReturnsGivenKeysIfNonWritable()

public function testOptimize()
{
if (($this->_storage instanceof OptimizableInterface) !== true) {
if (!($this->_storage instanceof OptimizableInterface)) {
$this->markTestSkipped("Storage doesn't implement OptimizableInterface");
}

Expand Down Expand Up @@ -897,7 +897,7 @@ public function testIterator()

public function testFlush()
{
if (($this->_storage instanceof FlushableInterface) !== true) {
if (!($this->_storage instanceof FlushableInterface)) {
$this->markTestSkipped("Storage doesn't implement OptimizableInterface");
}

Expand All @@ -913,7 +913,7 @@ public function testFlush()

public function testClearByPrefix()
{
if (($this->_storage instanceof ClearByPrefixInterface) !== true) {
if (!($this->_storage instanceof ClearByPrefixInterface)) {
$this->markTestSkipped("Storage doesn't implement ClearByPrefixInterface");
}

Expand All @@ -931,7 +931,7 @@ public function testClearByPrefix()

public function testClearByNamespace()
{
if (($this->_storage instanceof ClearByNamespaceInterface) !== true) {
if (!($this->_storage instanceof ClearByNamespaceInterface)) {
$this->markTestSkipped("Storage doesn't implement ClearByNamespaceInterface");
}

Expand Down Expand Up @@ -965,7 +965,7 @@ public function testClearByNamespace()

public function testClearExpired()
{
if (($this->_storage instanceof ClearExpiredInterface) !== true) {
if (!($this->_storage instanceof ClearExpiredInterface)) {
$this->markTestSkipped("Storage doesn't implement ClearExpiredInterface");
}

Expand Down Expand Up @@ -994,7 +994,7 @@ public function testClearExpired()

public function testTagable()
{
if (($this->_storage instanceof TaggableInterface) !== true) {
if (!($this->_storage instanceof TaggableInterface)) {
$this->markTestSkipped("Storage doesn't implement TaggableInterface");
}

Expand Down

0 comments on commit d76ef2c

Please sign in to comment.