mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
Remove suffix for LicenseDumper and LicenseDumperTest
This commit is contained in:
parent
eec8ee03bf
commit
d9e9c8c6b7
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user