CEC-3672 Use SUMS version instead of Version (#279)
This commit is contained in:
@@ -60,6 +60,10 @@ let carUpdateLog = {
|
||||
total: 3,
|
||||
};
|
||||
|
||||
let sumsVersions = {
|
||||
"data": ["2023.02.01.0.0.A", "2023.02.01.0.0.B"]
|
||||
}
|
||||
|
||||
export const CarUpdatesProvider = ({ children }) => {
|
||||
return <div data-testid="mocked-carupdatesprovider">{children}</div>;
|
||||
};
|
||||
@@ -77,4 +81,6 @@ export const useCarUpdatesContext = () => ({
|
||||
startMonitor: jest.fn(),
|
||||
stopMonitor: jest.fn(),
|
||||
approveUpdate: jest.fn(),
|
||||
});
|
||||
getSUMSVersions: jest.fn(() => sumsVersions),
|
||||
updateSUMSVersion: jest.fn(),
|
||||
});
|
||||
Reference in New Issue
Block a user