Permalink
Browse files

[zen-27][#1197] Fix assertion

- test against Adapter\AdapterInterface, not Adapter
  • Loading branch information...
1 parent dde7e64 commit e92282db062723dbf8dc108bee7858242b4ccdc0 @weierophinney weierophinney committed May 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/Zend/InfoCard/ProcessTest.php
@@ -130,7 +130,7 @@ public function testPlugins()
$infoCard->setAdapter($adapter);
- $result = ($infoCard->getAdapter() instanceof Adapter);
+ $result = ($infoCard->getAdapter() instanceof Adapter\AdapterInterface);
$this->assertTrue($result);
$this->assertTrue($infoCard->getAdapter() instanceof TestAsset\MockAdapter);

0 comments on commit e92282d

Please sign in to comment.