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

Commit 497444f

Browse files
author
sathielemann
committed
Fix integration tests which isn't executed locally.
1 parent 97d8c0e commit 497444f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/DeepLApiTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ public function testTranslateFormalityFail()
313313
$deepl = new DeepL(self::$authKey);
314314
$englishText = '<strong>text to do not translate</strong><p>please translate this text</p>';
315315

316-
self::setExpectedException('\BabyMarkt\DeepL\DeepLException');
316+
$this->expectException('\BabyMarkt\DeepL\DeepLException');
317317

318318
$deepl->translate(
319319
$englishText,

0 commit comments

Comments
 (0)