This commit is contained in:
Shivam Mathur 2020-07-20 17:32:29 +05:30
parent 70fd71ab48
commit 1870ffc08c
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -496,7 +496,7 @@ describe('Tools tests', () => {
}); });
it('checking addTools on windows', async () => { it('checking addTools on windows', async () => {
const script: string = await tools.addTools( const script: string = await tools.addTools(
'codeception, cs2pr, deployer, prestissimo, phpmd, phinx, phive:0.13.2, php-config, phpize, symfony, does_not_exit', 'codeception, cs2pr, deployer, prestissimo, phpmd, phinx, phive:0.13.2, php-config, phpize, symfony, does_not_exist',
'7.4', '7.4',
'win32' 'win32'
); );
@ -522,8 +522,7 @@ describe('Tools tests', () => {
); );
expect(script).toContain('phpize is not a windows tool'); expect(script).toContain('phpize is not a windows tool');
expect(script).toContain('php-config is not a windows tool'); expect(script).toContain('php-config is not a windows tool');
expect(script).toContain('Tool does_not_exit is not supported'); expect(script).toContain('Tool does_not_exist is not supported');
expect(script).toContain('Tool does_not_exit is not supported');
}); });
it('checking addTools with composer tool using user/tool as input', async () => { it('checking addTools with composer tool using user/tool as input', async () => {
const script: string = await tools.addTools( const script: string = await tools.addTools(