mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-09-01 02:14:16 +07:00
Set 8.0 as the latest version
This commit is contained in:
@ -117,7 +117,7 @@ describe('Install', () => {
|
||||
|
||||
script = '' + (await install.run());
|
||||
expect(script).toContain('initial script');
|
||||
expect(script).toContain('bash linux.sh 7.4 ');
|
||||
expect(script).toContain('bash linux.sh 8.0 ');
|
||||
|
||||
setEnv('7.3', 'linux', 'a, b', 'a=b', 'x', 'phpunit');
|
||||
|
||||
|
@ -36,7 +36,7 @@ describe('Utils tests', () => {
|
||||
it('checking parseVersion', async () => {
|
||||
expect(await utils.parseVersion('7')).toBe('7.0');
|
||||
expect(await utils.parseVersion('7.4')).toBe('7.4');
|
||||
expect(await utils.parseVersion('latest')).toBe('7.4');
|
||||
expect(await utils.parseVersion('latest')).toBe('8.0');
|
||||
});
|
||||
|
||||
it('checking asyncForEach', async () => {
|
||||
|
Reference in New Issue
Block a user