From 2b9d5b9e58739ee160bdfd855e2d3a4ef0be6276 Mon Sep 17 00:00:00 2001 From: Adam Daley Date: Mon, 11 May 2026 19:34:08 +0100 Subject: [PATCH] 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> --- tests/Modules/Theme/AdminTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Modules/Theme/AdminTest.php b/tests/Modules/Theme/AdminTest.php index 3f241204b..595f8946b 100644 --- a/tests/Modules/Theme/AdminTest.php +++ b/tests/Modules/Theme/AdminTest.php @@ -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']); }