mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +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->assertSame('', $error['entity']->getName());
|
||||||
$this->assertContainsOnlyInstancesOf(ConstraintViolation::class, $error['violations']);
|
$this->assertContainsOnlyInstancesOf(ConstraintViolation::class, $error['violations']);
|
||||||
//Element name must be element name
|
//Element name must be element name
|
||||||
$this->assertArrayHasKey('', $errors);
|
$this->assertArrayHasKey('Row 1', $errors);
|
||||||
|
|
||||||
//Check the valid element
|
//Check the valid element
|
||||||
$this->assertSame('Test 1', $results[0]->getName());
|
$this->assertSame('Test 1', $results[0]->getName());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue