From 49a0b58e85d8fbbb8bd172d1a34fb69165ecf703 Mon Sep 17 00:00:00 2001 From: Albin Date: Tue, 7 Nov 2023 13:03:55 +0100 Subject: [PATCH] =?UTF-8?q?feat=20(afup#1110):=20functional=20test=20Profi?= =?UTF-8?q?l=20speaker=20:=20-=20Acc=C3=A8s=20=C3=A0=20la=20page=20-=20Sai?= =?UTF-8?q?sie=20des=20infos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Resources/views/event/speaker/page.html.twig | 6 +++--- sources/AppBundle/Security/TestGithubAuthenticator.php | 9 +++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/app/Resources/views/event/speaker/page.html.twig b/app/Resources/views/event/speaker/page.html.twig index 975e364ba..6e9ded820 100644 --- a/app/Resources/views/event/speaker/page.html.twig +++ b/app/Resources/views/event/speaker/page.html.twig @@ -111,7 +111,7 @@ {{ form_errors(speakers_contact_form.phone_number) }} - {{ form_widget(speakers_contact_form.submit) }} + {{ form_widget(speakers_contact_form.submit, {attr: {title: "Enregistrer le contact"}}) }} @@ -150,7 +150,7 @@
- {{ form_widget(speakers_diner_form.submit) }} + {{ form_widget(speakers_diner_form.submit, {attr: {title: "Enregistrer mes préférences pour le restaurant"}}) }}
{{ form_end(speakers_diner_form) }} @@ -196,7 +196,7 @@
- {{ form_widget(hotel_reservation_form.submit) }} + {{ form_widget(hotel_reservation_form.submit, {attr: {title: "Enregistrer les nuitées"}}) }}
{{ form_end(hotel_reservation_form) }} diff --git a/sources/AppBundle/Security/TestGithubAuthenticator.php b/sources/AppBundle/Security/TestGithubAuthenticator.php index 57dccfcf2..41cef4e37 100644 --- a/sources/AppBundle/Security/TestGithubAuthenticator.php +++ b/sources/AppBundle/Security/TestGithubAuthenticator.php @@ -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; }