mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-24 12:54:44 +02:00
Fixed some errors introduced by earlier typings
This commit is contained in:
parent
b7c8ca2a48
commit
cbdf0a9392
6 changed files with 6 additions and 18 deletions
|
@ -65,12 +65,4 @@ class TwigCoreExtensionTest extends WebTestCase
|
|||
|
||||
$this->assertEqualsCanonicalizing(['test' => 1, 'test4' => 7], $this->service->toArray($obj));
|
||||
}
|
||||
|
||||
public function testToArrayException(): void
|
||||
{
|
||||
//When passing a simple scalar value a exception should be thrown.
|
||||
$this->expectException(\InvalidArgumentException::class);
|
||||
|
||||
$this->service->toArray(1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue