From d9e9c8c6b7043c5bd174d5bf9124d94598879264 Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Mon, 8 Jul 2024 12:58:57 +0800 Subject: [PATCH] Remove suffix for LicenseDumper and LicenseDumperTest --- tests/SPC/util/LicenseDumperTest.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/SPC/util/LicenseDumperTest.php b/tests/SPC/util/LicenseDumperTest.php index 3fdfcf8e..5462df58 100644 --- a/tests/SPC/util/LicenseDumperTest.php +++ b/tests/SPC/util/LicenseDumperTest.php @@ -43,7 +43,6 @@ final class LicenseDumperTest extends TestCase 'license' => [ 'type' => 'text', 'text' => 'license', - 'suffix' => 'zend', ], ], ]; @@ -52,7 +51,7 @@ final class LicenseDumperTest extends TestCase $dumper->addLibs(['fake_lib']); $dumper->dump(self::DIRECTORY); - $this->assertFileExists(self::DIRECTORY . '/lib_fake_lib_zend.txt'); + $this->assertFileExists(self::DIRECTORY . '/lib_fake_lib_0.txt'); } public function testDumpWithMultipleLicenses(): void @@ -76,7 +75,6 @@ final class LicenseDumperTest extends TestCase [ 'type' => 'text', 'text' => 'license', - 'suffix' => 'zend', ], ], ], @@ -88,6 +86,6 @@ final class LicenseDumperTest extends TestCase $this->assertFileExists(self::DIRECTORY . '/lib_fake_lib_0.txt'); $this->assertFileExists(self::DIRECTORY . '/lib_fake_lib_1.txt'); - $this->assertFileExists(self::DIRECTORY . '/lib_fake_lib_zend.txt'); + $this->assertFileExists(self::DIRECTORY . '/lib_fake_lib_2.txt'); } }