diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2026-06-11 21:02:02 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2026-06-11 21:02:02 +0300 |
| commit | e4020e8dfefc7df71114b14195e331fb7fb5bf83 (patch) | |
| tree | 48ef7b3d87b552bdcca966afaa6f5639eaf5e33d /tests/ConfigTest.php | |
| parent | 24187f28d3d8f5af06a56b89a74e4be7a7b0573d (diff) | |
| download | the-epube-e4020e8dfefc7df71114b14195e331fb7fb5bf83.tar.gz the-epube-e4020e8dfefc7df71114b14195e331fb7fb5bf83.tar.xz | |
add cosmetic git-based version to the UI, set on build
Diffstat (limited to 'tests/ConfigTest.php')
| -rw-r--r-- | tests/ConfigTest.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/ConfigTest.php b/tests/ConfigTest.php index 74503bc..a62e6e2 100644 --- a/tests/ConfigTest.php +++ b/tests/ConfigTest.php @@ -179,19 +179,4 @@ final class ConfigTest extends TestCase $this->assertStringNotContainsString('///', $url); } - // ── get_version() ──────────────────────────────────────────────────────── - - public function test_get_version_returns_string(): void - { - $version = Config::get_version(); - $this->assertIsString($version); - } - - public function test_get_version_as_array(): void - { - $version = Config::get_version(false); - $this->assertIsArray($version); - $this->assertArrayHasKey('status', $version); - $this->assertArrayHasKey('version', $version); - } } |
