소스 검색

Exception is not thrown anymore

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
tags/v15.0.0beta2
Morris Jobke 5 년 전
부모
커밋
8e60006744
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1
    2
      tests/lib/DB/ConnectionTest.php

+ 1
- 2
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',
[

Loading…
취소
저장