Skip to content

Commit a6d10db

Browse files
committed
Rollback PHPUnit dependency until Travis solve the problem with PHP 8.0 (2)
1 parent 7c5b50d commit a6d10db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/BaseTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public function testIgnoreRecursiveMetadata(string $file): void
182182
*/
183183
public function testDocumentLanguage(string $file): void
184184
{
185-
$this->assertMatchesRegularExpression('/^[a-z]{2}$/', self::$client->getLanguage($file));
185+
$this->assertRegExp('/^[a-z]{2}$/', self::$client->getLanguage($file));
186186
}
187187

188188
/**
@@ -268,7 +268,7 @@ public function testImageOCR(string $file): void
268268
{
269269
$text = self::$client->getText($file);
270270

271-
$this->assertMatchesRegularExpression('/voluptate/i', $text);
271+
$this->assertRegExp('/voluptate/i', $text);
272272
}
273273

274274
/**

0 commit comments

Comments
 (0)