Selaa lähdekoodia

Exception is not thrown anymore

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
tags/v15.0.0beta2
Morris Jobke 5 vuotta sitten
vanhempi
commit
8e60006744
No account linked to committer's email address
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1
    2
      tests/lib/DB/ConnectionTest.php

+ 1
- 2
tests/lib/DB/ConnectionTest.php Näytä tiedosto

@@ -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…
Peruuta
Tallenna