Skip to content
Extraits de code Groupes Projets
Valider 0defc5e4 rédigé par cerdic's avatar cerdic
Parcourir les fichiers

Renommer spip.inc en bootstrap.php pour etre plus conventionnel + ignorer le...

Renommer spip.inc en bootstrap.php pour etre plus conventionnel + ignorer le fichier tests/bootstrap_plugins.php
parent 0c2e8d19
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -3,4 +3,5 @@ composer.lock ...@@ -3,4 +3,5 @@ composer.lock
/vendor/ /vendor/
/vendor-bin/*/vendor/ /vendor-bin/*/vendor/
.phpunit.result.cache .phpunit.result.cache
phpunit.xml phpunit.xml
\ No newline at end of file tests/bootstrap_plugins.php
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="./tests/spip.inc" <phpunit bootstrap="./tests/bootstrap.php"
colors="true" colors="true"
convertErrorsToExceptions="true" convertErrorsToExceptions="true"
convertNoticesToExceptions="true" convertNoticesToExceptions="true"
......
...@@ -104,7 +104,7 @@ class EssaisTest extends TestCase { ...@@ -104,7 +104,7 @@ class EssaisTest extends TestCase {
$dir_base = __DIR__. '/essais'; $dir_base = __DIR__. '/essais';
$essais_files = glob("{{$dir_base}/*.php,{$dir_base}/*/*.php,{$dir_base}/*/*/*.php}",GLOB_BRACE); $essais_files = glob("{{$dir_base}/*.php,{$dir_base}/*/*.php,{$dir_base}/*/*/*.php}",GLOB_BRACE);
include_once __DIR__ . "/spip.inc"; include_once __DIR__ . "/bootstrap.php";
$tests = [ $tests = [
]; ];
foreach ($essais_files as $essai_file) { foreach ($essais_files as $essai_file) {
......
Fichier déplacé
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter