From e32b9aa60840666daef36140476f67dfd5bde33e Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Fri, 19 Apr 2024 10:16:32 +0200 Subject: [PATCH] Fix test_get_tags_histories_content test The calling code expects that this creates a dataset, but instead this used to create dataset collection. --- lib/galaxy_test/api/test_item_tags.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/galaxy_test/api/test_item_tags.py b/lib/galaxy_test/api/test_item_tags.py index 3b9527f7b37f..025c3504c012 100644 --- a/lib/galaxy_test/api/test_item_tags.py +++ b/lib/galaxy_test/api/test_item_tags.py @@ -135,9 +135,9 @@ def _create_valid_tag(self, prefix: str): return response def _create_history_contents(self, history_id): - history_content_id = self.dataset_collection_populator.create_list_in_history( - history_id, contents=["test_dataset"], direct_upload=True, wait=True - ).json()["outputs"][0]["id"] + history_content_id = self.dataset_populator.new_dataset( + history_id, contents="test_dataset", direct_upload=True, wait=True + )["id"] return history_content_id def _create_history(self):