add mutation testing
This commit is contained in:
parent
12ff38ecd6
commit
7674b6a6bd
22 changed files with 1239 additions and 247 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue