summaryrefslogtreecommitdiffstats
path: root/tests/Misc/UtfStringTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Misc/UtfStringTest.php')
-rw-r--r--tests/Misc/UtfStringTest.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/Misc/UtfStringTest.php b/tests/Misc/UtfStringTest.php
index c83339a..d351e77 100644
--- a/tests/Misc/UtfStringTest.php
+++ b/tests/Misc/UtfStringTest.php
@@ -5,6 +5,7 @@ namespace PhpMyAdmin\SqlParser\Tests\Misc;
use PhpMyAdmin\SqlParser\Tests\TestCase;
use PhpMyAdmin\SqlParser\UtfString;
+use Throwable;
class UtfStringTest extends TestCase
{
@@ -40,7 +41,7 @@ class UtfStringTest extends TestCase
public function testSet()
{
$this->expectExceptionMessage('Not implemented.');
- $this->expectException(\Exception::class);
+ $this->expectException(Throwable::class);
$str = new UtfString('');
$str[0] = 'a';
}
@@ -48,7 +49,7 @@ class UtfStringTest extends TestCase
public function testUnset()
{
$this->expectExceptionMessage('Not implemented.');
- $this->expectException(\Exception::class);
+ $this->expectException(Throwable::class);
$str = new UtfString('');
unset($str[0]);
}