Skip to content

Commit

Permalink
feat (afup#1110): functional test
Browse files Browse the repository at this point in the history
Profil speaker :
- Accès à la page
- Saisie des infos
  • Loading branch information
stakovicz committed Nov 7, 2023
1 parent 16647b2 commit 49a0b58
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Resources/views/event/speaker/page.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
{{ form_errors(speakers_contact_form.phone_number) }}
</span>
<span>
{{ form_widget(speakers_contact_form.submit) }}
{{ form_widget(speakers_contact_form.submit, {attr: {title: "Enregistrer le contact"}}) }}
</span>
</div>

Expand Down Expand Up @@ -150,7 +150,7 @@
</div>

<div class="submit-container">
{{ form_widget(speakers_diner_form.submit) }}
{{ form_widget(speakers_diner_form.submit, {attr: {title: "Enregistrer mes préférences pour le restaurant"}}) }}
</div>

{{ form_end(speakers_diner_form) }}
Expand Down Expand Up @@ -196,7 +196,7 @@
</div>

<div class="submit-container">
{{ form_widget(hotel_reservation_form.submit) }}
{{ form_widget(hotel_reservation_form.submit, {attr: {title: "Enregistrer les nuitées"}}) }}
</div>

{{ form_end(hotel_reservation_form) }}
Expand Down
9 changes: 9 additions & 0 deletions sources/AppBundle/Security/TestGithubAuthenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,15 @@ private function getTestUsersDetails()
'avatar_url' => 'http://test2.com',
];

$testUsers['agallou'] = [
'id' => 320372,
'name' => 'agallou',
'login' => 'agallou',
'company' => 'AFUP',
'html_url' => 'http://test2.com',
'avatar_url' => 'http://test2.com',
];

return $testUsers;
}

Expand Down

0 comments on commit 49a0b58

Please sign in to comment.