Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge pull request zendframework/zendframework#1560 from EvanDotPro/h…
Browse files Browse the repository at this point in the history
…otfix/validator-db-row

Merging fixes for Zend\Validator tests for Zend\Db ResultSet changes by @EvanDotPro
  • Loading branch information
ralphschindler committed Jun 22, 2012
9 parents 3569d8b + 00def10 + ecae47b + 0e552a5 + 4f854c2 + 2b17650 + c1c0447 + 73b1f80 + 9e2ccdf commit dd4a335
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/Db/NoRecordExistsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
namespace ZendTest\Validator\Db;

use ReflectionClass;
use Zend\Db\ResultSet\Row;
use Zend\Validator\Db\NoRecordExists;
use ArrayObject;

/**
* @category Zend
Expand All @@ -46,7 +46,7 @@ protected function getMockHasResult()
$mockConnection = $this->getMock('Zend\Db\Adapter\Driver\ConnectionInterface');

// Mock has result
$mockHasResultRow = new Row();
$mockHasResultRow = new ArrayObject();
$mockHasResultRow->one = 'one';

$mockHasResult = $this->getMock('Zend\Db\Adapter\Driver\ResultInterface');
Expand Down
4 changes: 2 additions & 2 deletions test/Db/RecordExistsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
namespace ZendTest\Validator\Db;

use ReflectionClass;
use Zend\Db\ResultSet\Row;
use Zend\Validator\Db\RecordExists;
use ArrayObject;

/**
* @category Zend
Expand All @@ -46,7 +46,7 @@ protected function getMockHasResult()
$mockConnection = $this->getMock('Zend\Db\Adapter\Driver\ConnectionInterface');

// Mock has result
$mockHasResultRow = new Row();
$mockHasResultRow = new ArrayObject();
$mockHasResultRow->one = 'one';

$mockHasResult = $this->getMock('Zend\Db\Adapter\Driver\ResultInterface');
Expand Down

0 comments on commit dd4a335

Please sign in to comment.