add mutation testing
All checks were successful
/ ls (pull_request) Successful in 2m13s
/ ls (push) Successful in 2m11s

This commit is contained in:
lubiana 2024-09-15 22:11:42 +02:00
parent 12ff38ecd6
commit 7674b6a6bd
No known key found for this signature in database
22 changed files with 1239 additions and 247 deletions

View file

@ -118,7 +118,13 @@ final class FoodVendorControllerTest extends DbWebTest
$this->manager->persist($fixture);
$this->manager->flush();
$this->client->request('GET', sprintf('%s%s/edit', $this->path, $fixture->getId()));
$crawler = $this->client->request('GET', sprintf('%s%s/edit', $this->path, $fixture->getId()));
$this->assertSame(
$crawler->filter('#food_vendor_name')
->last()
->attr('value', ''),
'Value'
);
$this->client->submitForm('Update', [
'food_vendor[name]' => 'Something New',