Skip to content

Commit

Permalink
fix integration test with free issuer_id
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Jan 21, 2025
1 parent 5ee57fa commit 9d16647
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/integration/test_CRULM.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def test_class_object_cru(type_base, class_data, object_data, integration_test_i
############################
# test class
class_base = f"{integration_test_id}.{class_type}.test_CRU.wallet_google.edutap"
class_data["id"] = f"{session_manager.settings.issuer_id}.{class_base}"
class_data["id"] = f"{session_manager.settings.test_issuer_id}.{class_base}"

data = new(class_type, class_data)

Expand Down Expand Up @@ -186,14 +186,14 @@ def test_class_object_cru(type_base, class_data, object_data, integration_test_i
assert result_message.id == class_data["id"]

# list all
result_list = [x for x in listing(name=class_type)]
result_list = [x for x in listing(name=class_type, issuer_id=session_manager.settings.test_issuer_id)]
assert len(result_list) > 0

############################
# test object
object_data["classId"] = class_data["id"]
object_base = f"{integration_test_id}.{object_type}.test_CRU.wallet_google.edutap"
object_data["id"] = f"{session_manager.settings.issuer_id}.{object_base}"
object_data["id"] = f"{session_manager.settings.test_issuer_id}.{object_base}"
odata = new(object_type, object_data)

# create
Expand Down

0 comments on commit 9d16647

Please sign in to comment.