test 2
continuous-integration/drone/push Build is failing Details

Hugo PRADIER 3 weeks ago
parent 2566640dbd
commit a124a66af4

@ -6,7 +6,6 @@
<h1>{{ 'edit_post'|trans }}</h1>
{{ include('post/_form.html.twig', {'button_label': 'update'|trans}) }}
<a href="{{ path('app_post_index') }}">{{ 'back_to_list'|trans }}</a>
{{ include('post/_delete_form.html.twig') }}

@ -4,7 +4,6 @@
{% block body %}
<h1>{{ 'edit_species'|trans }}</h1>
{{ include('species/_form.html.twig', {'button_label': 'update'|trans}) }}
<a href="{{ path('app_species_index') }}">{{ 'back_to_list'|trans }}</a>

@ -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',

@ -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',

@ -153,6 +153,14 @@
<source>edit_post</source>
<target>Edit post</target>
</trans-unit>
<trans-unit id="bczhbcbz" resname="update">
<source>update</source>
<target>Update</target>
</trans-unit>
<trans-unit id="zdhzvdhb" resname="save">
<source>save</source>
<target>Sauvegarder</target>
</trans-unit>
</body>
</file>
</xliff>

@ -153,6 +153,14 @@
<source>edit_post</source>
<target>Éditer la publication</target>
</trans-unit>
<trans-unit id="bczhbcbz" resname="update">
<source>update</source>
<target>Mettre à jour</target>
</trans-unit>
<trans-unit id="zdhzvdhb" resname="save">
<source>save</source>
<target>Sauvegarder</target>
</trans-unit>
</body>
</file>
</xliff>

Loading…
Cancel
Save