Skip to content

Commit

Permalink
removed unecessary import
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Nov 23, 2023
1 parent cca222a commit db0108d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/database/Mvc/Model/ToArrayCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
use Phalcon\Tests\Models\InvoicesMap;

use function uniqid;
use function var_dump;

class ToArrayCest
{
Expand Down Expand Up @@ -249,7 +248,7 @@ public function mvcModelToArrayFindCastOnHydrateForceCasting(DatabaseTester $I)
'inv_title' => $title,
'inv_total' => 222.19,
'inv_created_at' => $date,
]
],
];
$actual = $invoices->toArray();
$I->assertSame($expected, $actual);
Expand Down Expand Up @@ -295,7 +294,8 @@ public function mvcModelToArrayExecuteColumnNotInColumnMap(DatabaseTester $I)
->addFrom(InvoicesMap::class, 'i')
->limit(10)
->getQuery()
->execute();
->execute()
;

$result->rewind();
$result->next();
Expand All @@ -319,7 +319,7 @@ public function mvcModelToArrayExecuteColumnNotInColumnMap(DatabaseTester $I)
'created_at' => $date,
],
];
$actual = $result->toArray();
$actual = $result->toArray();
$I->assertSame($expected, $actual);
}
}

0 comments on commit db0108d

Please sign in to comment.