diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2019-12-14 11:05:18 -0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2019-12-14 11:05:18 -0300 |
commit | 9d3d3b3e39162a8b5329e7a446b2f359b6e99c9d (patch) | |
tree | eaf5c629483d0b6363efb81e15821b47086f3637 /tests/Misc/UtfStringTest.php | |
parent | 4c945b89aad24ee3c73ae94c06f2bc858a858956 (diff) | |
download | sql-parser-9d3d3b3e39162a8b5329e7a446b2f359b6e99c9d.zip sql-parser-9d3d3b3e39162a8b5329e7a446b2f359b6e99c9d.tar.gz sql-parser-9d3d3b3e39162a8b5329e7a446b2f359b6e99c9d.tar.bz2 |
Reference classes via a use statement
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'tests/Misc/UtfStringTest.php')
-rw-r--r-- | tests/Misc/UtfStringTest.php | 5 |
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]); } |