commit | 9bc6ca9a38c4ea8214edc5923df76fe001fdaacb | [log] [tgz] |
---|---|---|
author | Marcus Christie <machristie@apache.org> | Mon Feb 06 10:42:46 2023 -0500 |
committer | Marcus Christie <machristie@apache.org> | Mon Feb 06 10:42:46 2023 -0500 |
tree | fbcea87fd7fabedcce73fe2200a09200e7c2932b | |
parent | a4b137617bdc5800f1b4d891d2bd36fdf36feb56 [diff] |
AIRAVATA-3680 Fix test failure
diff --git a/django_airavata/apps/admin/static/django_airavata_admin/tests/unit/components/statistics/ExperimentStatisticsContainer.spec.js b/django_airavata/apps/admin/static/django_airavata_admin/tests/unit/components/statistics/ExperimentStatisticsContainer.spec.js index bcc7166..5bdba0b 100644 --- a/django_airavata/apps/admin/static/django_airavata_admin/tests/unit/components/statistics/ExperimentStatisticsContainer.spec.js +++ b/django_airavata/apps/admin/static/django_airavata_admin/tests/unit/components/statistics/ExperimentStatisticsContainer.spec.js
@@ -136,9 +136,14 @@ expect(jobTab).toBeVisible(); // Double check that the experiment services were called to load the experiment - expect(services.ExperimentService.retrieve).toHaveBeenCalledWith({ - lookup: experiment.experimentId, - }); + expect(services.ExperimentService.retrieve).toHaveBeenCalledWith( + { + lookup: experiment.experimentId, + }, + { + ignoreErrors: true, + } + ); expect(services.FullExperimentService.retrieve).toHaveBeenCalledWith({ lookup: experiment.experimentId, });