diff --git a/tests/Controller/PostControllerTest.php b/tests/Controller/PostControllerTest.php index 2093817..2cdb5ce 100644 --- a/tests/Controller/PostControllerTest.php +++ b/tests/Controller/PostControllerTest.php @@ -52,7 +52,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', @@ -91,7 +91,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', diff --git a/tests/Controller/SpeciesControllerTest.php b/tests/Controller/SpeciesControllerTest.php index 5ce80dd..6a9ccda 100644 --- a/tests/Controller/SpeciesControllerTest.php +++ b/tests/Controller/SpeciesControllerTest.php @@ -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', diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf index 131da28..4ff5f7a 100644 --- a/translations/messages.en.xlf +++ b/translations/messages.en.xlf @@ -63,7 +63,7 @@ show - Shpw + Show no_records_found