Fix tests

This commit is contained in:
Adam Harvey
2021-02-03 00:02:50 -05:00
parent 81a039cc9f
commit c0ddb32563
2 changed files with 2 additions and 2 deletions
@@ -61,7 +61,7 @@ describe('ApiCatalogTable component', () => {
),
);
const errorMessage = await rendered.findByText(
/Error encountered while fetching catalog entities./,
/Could not fetch catalog entities./,
);
expect(errorMessage).toBeInTheDocument();
});
@@ -162,7 +162,7 @@ describe('AuditList', () => {
</ApiProvider>,
),
);
const element = await rendered.findByTestId('error-message');
const element = await rendered.findByText(/Could not load audit list./);
expect(element).toBeInTheDocument();
});
});