Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 63fe172

Browse files
update tests
1 parent b858eaa commit 63fe172

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/DeepLTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function testCheckLanguagesSourceLanguageException()
4646

4747
$checkLanguages = self::getMethod('\BabyMarkt\DeepL\DeepL', 'checkLanguages');
4848

49-
$this->setExpectedException(DeepLException::class);
49+
$this->setExpectedException('\BabyMarkt\DeepL\DeepLException');
5050

5151
$checkLanguages->invokeArgs($deepl, array('fo', 'en'));
5252
}
@@ -61,7 +61,7 @@ public function testCheckLanguagesDestinationLanguageException()
6161

6262
$checkLanguages = self::getMethod('\BabyMarkt\DeepL\DeepL', 'checkLanguages');
6363

64-
$this->setExpectedException(DeepLException::class);
64+
$this->setExpectedException('\BabyMarkt\DeepL\DeepLException');
6565

6666
$checkLanguages->invokeArgs($deepl, array('de', 'fo'));
6767
}

0 commit comments

Comments
 (0)