mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-22 15:51:13 +02:00
cs fix
This commit is contained in:
@@ -65,7 +65,12 @@ class DataMapperTest extends \PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testRestoreOne(User $existing)
|
||||
{
|
||||
$rows = new \ArrayIterator(array(array('userid' => 1, 'username' => 'Odysseus', 'email' => 'Odysseus@ithaca.gr')));
|
||||
$row = array(
|
||||
'userid' => 1,
|
||||
'username' => 'Odysseus',
|
||||
'email' => 'Odysseus@ithaca.gr'
|
||||
);
|
||||
$rows = new \ArrayIterator(array($row));
|
||||
$this->dbal->expects($this->once())
|
||||
->method('find')
|
||||
->with(1)
|
||||
|
Reference in New Issue
Block a user