mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 10:26:46 +00:00
updated with correct message
This commit is contained in:
parent
14d9168a6b
commit
5d5e936b67
4 changed files with 4 additions and 4 deletions
|
@ -46,7 +46,7 @@ describe('isCacheFeatureAvailable', () => {
|
|||
jest.spyOn(cache, 'isFeatureAvailable').mockImplementation(() => false);
|
||||
const infoMock = jest.spyOn(core, 'warning');
|
||||
const message =
|
||||
'This runner is not configured to use the cache service. Caching will be skipped';
|
||||
'The runner was not able to contact the cache service. Caching will be skipped';
|
||||
try {
|
||||
process.env['GITHUB_SERVER_URL'] = 'http://github.com';
|
||||
expect(isCacheFeatureAvailable()).toBe(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue