mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Fixed tests
This commit is contained in:
parent
6f91ff1f28
commit
b88e5e27d8
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ EOT;
|
|||
$this->assertSame('', $error['entity']->getName());
|
||||
$this->assertContainsOnlyInstancesOf(ConstraintViolation::class, $error['violations']);
|
||||
//Element name must be element name
|
||||
$this->assertArrayHasKey('', $errors);
|
||||
$this->assertArrayHasKey('Row 1', $errors);
|
||||
|
||||
//Check the valid element
|
||||
$this->assertSame('Test 1', $results[0]->getName());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue