Visitar URL original
Fixed the test cases (#18479) · phpmyadmin/phpmyadmin@aad3b57 · GitHub
Skip to content

Commit aad3b57

Browse files
Fixed the test cases (#18479)
* Fixed the test cases Signed-off-by: Sachin Bahukhandi <sachinb0013@gmail.com> * Modified the docblocks as suggested Signed-off-by: Sachin Bahukhandi <sachinb0013@gmail.com> * Update test/classes/Controllers/Table/ImportControllerTest.php Added the changes suggested by team Co-authored-by: William Desportes <williamdes@wdes.fr> Signed-off-by: Sachin Bahukhandi <sachinb0013@gmail.com> * modified the docblock Signed-off-by: Sachin Bahukhandi <sachinb0013@gmail.com> * modified the docblock Signed-off-by: Sachin Bahukhandi <sachinb0013@gmail.com> * modified the docblock Signed-off-by: Sachin Bahukhandi <sachinb0013@gmail.com> * modified the docblock Signed-off-by: Sachin Bahukhandi <sachinb0013@gmail.com> * Removed sodium extension required check as suggested Signed-off-by: Sachin Bahukhandi <sachinb0013@gmail.com> --------- Signed-off-by: Sachin Bahukhandi <sachinb0013@gmail.com> Co-authored-by: William Desportes <williamdes@wdes.fr>
1 parent 531d6ad commit aad3b57

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

‎test/classes/Config/ServerConfigChecksTest.php‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ public function testBlowfish(): void
129129
$this->assertArrayNotHasKey('error', $messages);
130130
}
131131

132+
/**
133+
* @requires extension bz2
134+
* @requires extension zip
135+
*/
132136
public function testBlowfishWithInvalidSecret(): void
133137
{
134138
$_SESSION[$this->sessionID] = [];
@@ -155,6 +159,10 @@ public function testBlowfishWithInvalidSecret(): void
155159
$this->assertArrayNotHasKey('error', $messages);
156160
}
157161

162+
/**
163+
* @requires extension bz2
164+
* @requires extension zip
165+
*/
158166
public function testBlowfishWithValidSecret(): void
159167
{
160168
$_SESSION[$this->sessionID] = [];

‎test/classes/Controllers/Table/ImportControllerTest.php‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
#[CoversClass(ImportController::class)]
1919
class ImportControllerTest extends AbstractTestCase
2020
{
21+
/**
22+
* @requires extension bz2
23+
* @requires extension zip
24+
*/
2125
public function testImportController(): void
2226
{
2327
$this->setTheme();

0 commit comments

Comments
 (0)