Browse Source

Exception is not thrown anymore

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
tags/v15.0.0beta2
Morris Jobke 5 years ago
parent
commit
8e60006744
No account linked to committer's email address
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      tests/lib/DB/ConnectionTest.php

+ 1
- 2
tests/lib/DB/ConnectionTest.php View File

@@ -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…
Cancel
Save