test 2
This commit is contained in:
@@ -53,7 +53,7 @@ class PostControllerTest extends WebTestCase
|
||||
{
|
||||
self::assertResponseStatusCodeSame(200);
|
||||
|
||||
$this->client->submitForm('save', [
|
||||
$this->client->submitForm('Save', [
|
||||
'post[foundDate]' => '2024-01-01 00:00:00',
|
||||
'post[latitude]' => '45.0',
|
||||
'post[longitude]' => '45.0',
|
||||
@@ -92,7 +92,7 @@ class PostControllerTest extends WebTestCase
|
||||
|
||||
$this->client->request('GET', sprintf('%s%s/edit', $this->path, $fixture->getId()));
|
||||
|
||||
$this->client->submitForm('update', [
|
||||
$this->client->submitForm('Update', [
|
||||
'post[foundDate]' => '2024-03-25 00:00:00',
|
||||
'post[latitude]' => '90',
|
||||
'post[longitude]' => '90',
|
||||
|
@@ -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',
|
||||
|
Reference in New Issue
Block a user