simplesamlphp / simplesamlphp/simplesamlphp-module-aggregator2

Fix local (non-http) metadata-locations

Abierto
#35 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Lenguaje dominante
PHP
Estrellas
5
Forks
6
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

  1. SimpleSAML\Test\Module\aggregator\Controller\AggregatorTest::testGetWithId

Symfony\Component\HttpClient\Exception\InvalidArgumentException: Invalid URL: scheme is missing in "tests/metadata/example.xml". Did you forget to add "http(s)://"?
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/vendor/symfony/http-client/HttpClientTrait.php:582
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/vendor/symfony/http-client/HttpClientTrait.php:179
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/vendor/symfony/http-client/CurlHttpClient.php:91
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/vendor/simplesamlphp/simplesamlphp/src/SimpleSAML/Utils/HTTP.php:554
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/src/EntitySource.php:150
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/src/EntitySource.php:228
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/src/EntitySource.php:263
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/src/Aggregator.php:514
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/src/Aggregator.php:693
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/src/Aggregator.php:727
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/src/Controller/Aggregator.php:98
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/tests/src/Controller/AggregatorTest.php:125

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Comienza con tests/src/Controller/AggregatorTest.php y reproduce testGetWithId; después, sigue la ruta de metadatos local a través de src/EntitySource.php, tal como se muestra en el error. El cambio estará terminado cuando tests/metadata/example.xml se acepte como ubicación de metadatos local sin que Symfony informe de que falta un esquema de URL y la prueba pase.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
php, symfony
Área
backend, testing
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
72/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.