Skip to content

Commit e0ed568

Browse files
committed
Fix unit test
1 parent f225f0c commit e0ed568

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

x-pack/plugins/fleet/common/services/check_fleet_server_versions.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ describe('checkFleetServerVersion', () => {
2323
{ local_metadata: { elastic: { agent: { version: '8.4.0' } } } },
2424
] as any;
2525
expect(() => checkFleetServerVersion('8.5.1', fleetServers, false)).toThrowError(
26-
'Cannot upgrade to version 8.5.1 because it is higher than the latest fleet server version 8.4.0'
26+
'Cannot upgrade to version 8.5.1 because it is higher than the latest fleet server version 8.4.0.'
2727
);
2828
});
2929

@@ -33,7 +33,7 @@ describe('checkFleetServerVersion', () => {
3333
{ local_metadata: { elastic: { agent: { version: '8.4.0' } } } },
3434
] as any;
3535
expect(() => checkFleetServerVersion('8.5.1', fleetServers, true)).toThrowError(
36-
'Cannot force upgrade to version 8.5.1 because it does not satisfy the major and minor of the latest fleet server version 8.4.0'
36+
'Cannot force upgrade to version 8.5.1 because it does not satisfy the major and minor of the latest fleet server version 8.4.0.'
3737
);
3838
});
3939
});

0 commit comments

Comments
 (0)