Skip to content

Commit

Permalink
aaa
Browse files Browse the repository at this point in the history
  • Loading branch information
AnaelMobilia committed Oct 8, 2024
1 parent 407ee5e commit 8666873
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions __tests/MembreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@ public function testMembreSupprimerCompteRequiertCheckbox(): void
*/
$unMembre = new UtilisateurObject();
$this->assertTrue(
$unMembre->connexion('username', $_POST['userPasswordDelete'])
, 'connexion avant'
$unMembre->connexion('username', $_POST['userPasswordDelete']),
'connexion avant'
);

/**
Expand Down
6 changes: 0 additions & 6 deletions __tests/_bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,3 @@
copy($path, $fileDst);
echo $file . ' -> ' . $fileDst . PHP_EOL;
}

/*
sh - c "cp __tests/images/image_a_supprimerMultiple.png files/a/aec65c6b4469bb7267d2d55af5fbd87b"
sh - c "cp __tests/images/image_a_supprimerMultiple-100x100.png files/0/031328c1a7ffe7eed0a2cab4eca05a63"
sh - c "cp __tests/images/image_a_supprimerMultiple-200x200.png files/2/278a70a02e036cc85e0d7e605fdc517f"
*/
1 change: 1 addition & 0 deletions classes/MiniatureObject.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ public function supprimer(): void
&& $this->getNbUsages() === 0
//&& file_exists($this->getPathMd5())
) {
echo $this->getNomNouveau();
unlink($this->getPathMd5());
}
}
Expand Down

0 comments on commit 8666873

Please sign in to comment.