This commit is contained in:
hugo.pradier2
2024-06-12 15:48:08 +02:00
committed by clfreville2
parent 9d380e7a5a
commit ef09ceab1b
3 changed files with 5 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ class PostControllerTest extends WebTestCase
{ {
self::assertResponseStatusCodeSame(200); self::assertResponseStatusCodeSame(200);
$this->client->submitForm('Save', [ $this->client->submitForm('save', [
'post[foundDate]' => '2024-01-01 00:00:00', 'post[foundDate]' => '2024-01-01 00:00:00',
'post[latitude]' => '45.0', 'post[latitude]' => '45.0',
'post[longitude]' => '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->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[foundDate]' => '2024-03-25 00:00:00',
'post[latitude]' => '90', 'post[latitude]' => '90',
'post[longitude]' => '90', 'post[longitude]' => '90',

View File

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

View File

@@ -63,7 +63,7 @@
</trans-unit> </trans-unit>
<trans-unit id="HGMzUJ3" resname="show"> <trans-unit id="HGMzUJ3" resname="show">
<source>show</source> <source>show</source>
<target>Shpw</target> <target>Show</target>
</trans-unit> </trans-unit>
<trans-unit id="oQmcLRD" resname="no_records_found"> <trans-unit id="oQmcLRD" resname="no_records_found">
<source>no_records_found</source> <source>no_records_found</source>