Skip to content

Commit

Permalink
Update track indexing integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Saliou Diallo committed Aug 25, 2022
1 parent 2fb89c1 commit 085edc2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ def seed_contract_data(task, contracts, web3):
"release_date": str(chance.date()),
"file_type": "mp3",
"track_segments": test_track_segments,
"is_premium": False,
"premium_conditions": None,
}

# dump metadata to file
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ def get_delete_track_event():
},
"track_id": 77955,
"stem_of": None,
"is_premium": False,
"premium_conditions": None,
},
multihash2: {
"owner_id": 1,
Expand Down Expand Up @@ -185,6 +187,8 @@ def get_delete_track_event():
},
"track_id": 77955,
"stem_of": None,
"is_premium": False,
"premium_conditions": None,
},
}
)
Expand Down
2 changes: 2 additions & 0 deletions discovery-provider/src/tasks/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
"is_unlisted": False,
"field_visibility": None,
"stem_of": None,
"is_premium": False,
"premium_conditions": None,
}

# Required format for user metadata retrieved from IPFS
Expand Down

0 comments on commit 085edc2

Please sign in to comment.