test 2
This commit is contained in:
@@ -6,7 +6,6 @@
|
|||||||
<h1>{{ 'edit_post'|trans }}</h1>
|
<h1>{{ 'edit_post'|trans }}</h1>
|
||||||
|
|
||||||
{{ include('post/_form.html.twig', {'button_label': 'update'|trans}) }}
|
{{ include('post/_form.html.twig', {'button_label': 'update'|trans}) }}
|
||||||
|
|
||||||
<a href="{{ path('app_post_index') }}">{{ 'back_to_list'|trans }}</a>
|
<a href="{{ path('app_post_index') }}">{{ 'back_to_list'|trans }}</a>
|
||||||
|
|
||||||
{{ include('post/_delete_form.html.twig') }}
|
{{ include('post/_delete_form.html.twig') }}
|
||||||
|
@@ -4,7 +4,6 @@
|
|||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<h1>{{ 'edit_species'|trans }}</h1>
|
<h1>{{ 'edit_species'|trans }}</h1>
|
||||||
|
|
||||||
{{ include('species/_form.html.twig', {'button_label': 'update'|trans}) }}
|
{{ include('species/_form.html.twig', {'button_label': 'update'|trans}) }}
|
||||||
|
|
||||||
<a href="{{ path('app_species_index') }}">{{ 'back_to_list'|trans }}</a>
|
<a href="{{ path('app_species_index') }}">{{ 'back_to_list'|trans }}</a>
|
||||||
|
@@ -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',
|
||||||
|
@@ -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',
|
||||||
|
@@ -153,6 +153,14 @@
|
|||||||
<source>edit_post</source>
|
<source>edit_post</source>
|
||||||
<target>Edit post</target>
|
<target>Edit post</target>
|
||||||
</trans-unit>
|
</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>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
</xliff>
|
</xliff>
|
||||||
|
@@ -153,6 +153,14 @@
|
|||||||
<source>edit_post</source>
|
<source>edit_post</source>
|
||||||
<target>Éditer la publication</target>
|
<target>Éditer la publication</target>
|
||||||
</trans-unit>
|
</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>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
</xliff>
|
</xliff>
|
||||||
|
Reference in New Issue
Block a user