Skip to content

Commit 9e5634e

Browse files
author
Thomas Flori
committed
use the new delete method in tests for coverage
1 parent 4d5b4b5 commit 9e5634e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/EntityManager/DataModificationTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ public function deleteStatement($class, $data, $statement)
504504

505505
self::expectException(\PDOException::class);
506506

507-
$this->em->delete($entity);
507+
$entity->delete();
508508
}
509509

510510
/** @dataProvider provideDeleteStatements

0 commit comments

Comments
 (0)