mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-30 12:18:43 +09:00
Fix for 1 code quality finding in Theme legacy test (#3521)
Apply suggested fix to tests/Modules/Theme/AdminTest.php from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
961301c73d
commit
2b9d5b9e58
1 file changed
+2
@@ -24,6 +24,7 @@ final class AdminTest extends TestCase
|
||||
$this->assertNotSame('', trim($data['name']), 'Theme name should not be empty.');
|
||||
$this->assertIsString($data['version']);
|
||||
$this->assertNotSame('', trim($data['version']), 'Theme version should not be empty.');
|
||||
$this->assertIsString($data['author']);
|
||||
|
||||
$this->assertEquals('FOSSBilling', $data['author']);
|
||||
}
|
||||
@@ -43,6 +44,7 @@ final class AdminTest extends TestCase
|
||||
$this->assertNotSame('', trim($data['name']), 'Theme name should not be empty.');
|
||||
$this->assertIsString($data['version']);
|
||||
$this->assertNotSame('', trim($data['version']), 'Theme version should not be empty.');
|
||||
$this->assertIsString($data['author']);
|
||||
|
||||
$this->assertEquals('FOSSBilling', $data['author']);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user