|
|
|
@ -54,7 +54,7 @@ class SpeciesControllerTest extends WebTestCase
|
|
|
|
|
|
|
|
|
|
self::assertResponseStatusCodeSame(200);
|
|
|
|
|
|
|
|
|
|
$this->client->submitForm('Save', [
|
|
|
|
|
$this->client->submitForm('save', [
|
|
|
|
|
'species[scientific_name]' => 'Testing',
|
|
|
|
|
'species[vernacular_name]' => 'Testing',
|
|
|
|
|
'species[region]' => 'Testing',
|
|
|
|
@ -95,7 +95,7 @@ class SpeciesControllerTest extends WebTestCase
|
|
|
|
|
|
|
|
|
|
$this->client->request('GET', sprintf('%s%s/edit', $this->path, $fixture->getId()));
|
|
|
|
|
|
|
|
|
|
$this->client->submitForm('Update', [
|
|
|
|
|
$this->client->submitForm('update', [
|
|
|
|
|
'species[scientific_name]' => 'Something New',
|
|
|
|
|
'species[vernacular_name]' => 'Something New',
|
|
|
|
|
'species[region]' => 'Something New',
|
|
|
|
|