Exception is not thrown anymore
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
5273639d0e
commit
8e60006744
1 changed files with 1 additions and 2 deletions
|
@ -314,11 +314,10 @@ class ConnectionTest extends \Test\TestCase {
|
|||
|
||||
/**
|
||||
* @dataProvider insertIfNotExistsViolatingThrows
|
||||
* @expectedException \Doctrine\DBAL\Exception\UniqueConstraintViolationException
|
||||
*
|
||||
* @param array $compareKeys
|
||||
*/
|
||||
public function testInsertIfNotExistsViolatingThrows($compareKeys) {
|
||||
public function testInsertIfNotExistsViolatingUnique($compareKeys) {
|
||||
$this->makeTestTable();
|
||||
$result = $this->connection->insertIfNotExist('*PREFIX*table',
|
||||
[
|
||||
|
|
Loading…
Reference in a new issue