Skip to content

Commit

Permalink
fixed unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitriy Borzenko committed Sep 10, 2024
1 parent bfbd0f4 commit 52b6ad0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,6 @@ describe("FlowsTableComponent", () => {
component.onForceUpdate(mockFlowSummaryDataFragmentShowForceLink);

expect(datasetTriggerFlowSpy).toHaveBeenCalledTimes(1);
expect(toastrServiceSuccessSpy).toHaveBeenCalledWith("Success");
expect(toastrServiceSuccessSpy).toHaveBeenCalledWith("Force update started");
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,6 @@ describe("DatasetFlowTableHelpers", () => {
mockDatasets,
mockDatasets[1].id,
),
).toEqual(`Source is uncacheable: to re-scan the data, use`);
).toEqual(`Source is uncacheable: to re-scan the data, use force update`);
});
});

0 comments on commit 52b6ad0

Please sign in to comment.