diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-11-12 12:22:04 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-11-12 12:22:04 +0100 |
commit | 8e600067444f0478a7091109cf78757176251f69 (patch) | |
tree | fb9e626dfa9c8b13f993f3de0ae4c16740b8d1ed /tests/lib | |
parent | 5273639d0e16e946ec25a51cfdd6696fde3d07cd (diff) | |
download | nextcloud-server-8e600067444f0478a7091109cf78757176251f69.tar.gz nextcloud-server-8e600067444f0478a7091109cf78757176251f69.zip |
Exception is not thrown anymore
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/DB/ConnectionTest.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/lib/DB/ConnectionTest.php b/tests/lib/DB/ConnectionTest.php index 857bb3cd79f..02dd6a1495c 100644 --- a/tests/lib/DB/ConnectionTest.php +++ b/tests/lib/DB/ConnectionTest.php @@ -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', [ |