[TESTS] Fix tests
This commit is contained in:
@@ -185,7 +185,7 @@ class FormattingTest extends WebTestCase
|
||||
|
||||
public function testToArray()
|
||||
{
|
||||
static::assertThrows(Exception::class, fn () => Formatting::toArray('foo', $a, '')); // @phpstan-ignore-line
|
||||
static::assertThrows(InvalidArgumentException::class, fn () => Formatting::toArray('foo', $a, '')); // @phpstan-ignore-line
|
||||
|
||||
static::assertTrue(Formatting::toArray('', $a));
|
||||
static::assertSame([], $a);
|
||||
|
Reference in New Issue
Block a user