Fix : Ajout php unit et correction de l'installation du projet (bdd local)

This commit is contained in:
AUTIN Tristan
2026-01-06 14:00:05 +01:00
parent 8ea211835f
commit 5f0703811f
13 changed files with 2062 additions and 106 deletions
+2
View File
@@ -34,3 +34,5 @@
127.0.0.1 - - [05/Jan/2026:16:09:58 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.62 (Debian) PHP/8.4.6 (internal dummy connection)"
172.18.0.1 - - [06/Jan/2026:09:37:52 +0000] "GET /api/ HTTP/1.1" 200 2115 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:146.0) Gecko/20100101 Firefox/146.0"
172.18.0.1 - - [06/Jan/2026:09:37:53 +0000] "GET /api/bundles/apiplatform/swagger-ui/swagger-ui-standalone-preset.js HTTP/1.1" 200 70373 "http://localhost:8080/api/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:146.0) Gecko/20100101 Firefox/146.0"
172.18.0.1 - - [06/Jan/2026:10:53:22 +0000] "GET /api/ HTTP/1.1" 200 2115 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:146.0) Gecko/20100101 Firefox/146.0"
172.18.0.1 - - [06/Jan/2026:10:53:24 +0000] "GET /favicon.ico HTTP/1.1" 200 4587 "http://localhost:8080/api/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:146.0) Gecko/20100101 Firefox/146.0"
+46
View File
@@ -196,3 +196,49 @@ AH00558: apache2: Could not reliably determine the server's fully qualified doma
[Tue Jan 06 09:37:53.015983 2026] [php:notice] [pid 18:tid 18] [client 172.18.0.1:41976] [debug] Notified event "kernel.finish_request" to listener "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelFinishRequest".
[Tue Jan 06 09:37:53.016012 2026] [php:notice] [pid 18:tid 18] [client 172.18.0.1:41976] [debug] Notified event "kernel.finish_request" to listener "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelFinishRequest".
[Tue Jan 06 09:37:53.016024 2026] [php:notice] [pid 18:tid 18] [client 172.18.0.1:41976] [debug] Notified event "kernel.finish_request" to listener "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelFinishRequest".
[Tue Jan 06 10:43:53.857959 2026] [mpm_prefork:notice] [pid 1:tid 1] AH00170: caught SIGWINCH, shutting down gracefully
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
[Tue Jan 06 10:44:28.717987 2026] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.62 (Debian) PHP/8.4.6 configured -- resuming normal operations
[Tue Jan 06 10:44:28.718050 2026] [core:notice] [pid 1:tid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
[Tue Jan 06 10:47:28.111231 2026] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.62 (Debian) PHP/8.4.6 configured -- resuming normal operations
[Tue Jan 06 10:47:28.111307 2026] [core:notice] [pid 1:tid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
[Tue Jan 06 10:52:39.131921 2026] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.62 (Debian) PHP/8.4.6 configured -- resuming normal operations
[Tue Jan 06 10:52:39.131995 2026] [core:notice] [pid 1:tid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
[Tue Jan 06 10:53:23.383764 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [info] Matched route "api_entrypoint".
[Tue Jan 06 10:53:23.397102 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Checking for authenticator support.
[Tue Jan 06 10:53:23.397366 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.request" to listener "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure".
[Tue Jan 06 10:53:23.397413 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.request" to listener "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest".
[Tue Jan 06 10:53:23.397434 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.request" to listener "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelRequest".
[Tue Jan 06 10:53:23.397474 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.request" to listener "Symfony\\Bridge\\Doctrine\\Middleware\\IdleConnection\\Listener::onKernelRequest".
[Tue Jan 06 10:53:23.397492 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.request" to listener "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest".
[Tue Jan 06 10:53:23.397508 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.request" to listener "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale".
[Tue Jan 06 10:53:23.397525 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.request" to listener "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest".
[Tue Jan 06 10:53:23.397541 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.request" to listener "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest".
[Tue Jan 06 10:53:23.397558 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.request" to listener "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest".
[Tue Jan 06 10:53:23.397575 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.request" to listener "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator".
[Tue Jan 06 10:53:23.397591 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.request" to listener "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest".
[Tue Jan 06 10:53:23.600484 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.controller_arguments" to listener "Symfony\\Component\\HttpKernel\\EventListener\\IsSignatureValidAttributeListener::onKernelControllerArguments".
[Tue Jan 06 10:53:23.600651 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.controller_arguments" to listener "Symfony\\Component\\Security\\Http\\EventListener\\IsCsrfTokenValidAttributeListener::onKernelControllerArguments".
[Tue Jan 06 10:53:23.600680 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.controller_arguments" to listener "Symfony\\Component\\Security\\Http\\EventListener\\IsGrantedAttributeListener::onKernelControllerArguments".
[Tue Jan 06 10:53:23.600702 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.controller_arguments" to listener "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelControllerArguments".
[Tue Jan 06 10:53:23.600747 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.controller_arguments" to listener "Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\RequestPayloadValueResolver::onKernelControllerArguments".
[Tue Jan 06 10:53:23.600764 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.controller_arguments" to listener "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments".
[Tue Jan 06 10:53:23.741248 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.response" to listener "Symfony\\Component\\Security\\Http\\Firewall\\ContextListener::onKernelResponse".
[Tue Jan 06 10:53:23.741713 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.response" to listener "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelResponse".
[Tue Jan 06 10:53:23.741766 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.response" to listener "Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener::onKernelResponse".
[Tue Jan 06 10:53:23.741802 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.response" to listener "Symfony\\Component\\WebLink\\EventListener\\AddLinkHeaderListener::onKernelResponse".
[Tue Jan 06 10:53:23.751371 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.response" to listener "Nelmio\\CorsBundle\\EventListener\\CacheableResponseVaryListener::onResponse".
[Tue Jan 06 10:53:23.751597 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.response" to listener "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelResponse".
[Tue Jan 06 10:53:23.751637 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.response" to listener "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::removeCspHeader".
[Tue Jan 06 10:53:23.751663 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.response" to listener "Symfony\\Component\\HttpKernel\\EventListener\\DisallowRobotsIndexingListener::onResponse".
[Tue Jan 06 10:53:23.751682 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.response" to listener "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelResponse".
[Tue Jan 06 10:53:23.753462 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.finish_request" to listener "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelFinishRequest".
[Tue Jan 06 10:53:23.753564 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.finish_request" to listener "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelFinishRequest".
[Tue Jan 06 10:53:23.753586 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.finish_request" to listener "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelFinishRequest".
[Tue Jan 06 10:53:23.753602 2026] [php:notice] [pid 17:tid 17] [client 172.18.0.1:36846] [debug] Notified event "kernel.finish_request" to listener "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelFinishRequest".
[Tue Jan 06 10:57:27.190269 2026] [mpm_prefork:notice] [pid 1:tid 1] AH00170: caught SIGWINCH, shutting down gracefully
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
[Tue Jan 06 10:57:29.484643 2026] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.62 (Debian) PHP/8.4.6 configured -- resuming normal operations
[Tue Jan 06 10:57:29.484700 2026] [core:notice] [pid 1:tid 1] AH00094: Command line: 'apache2 -D FOREGROUND'