Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-bryson committed Mar 21, 2024
1 parent e434eae commit a944778
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/database/test_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def test_update_source(db_interface):
{
"name": "Update Test Source",
"notification_emails": ["error@example.com"],
"organization_name": "Old Org",
"organization_id": "Old Org",
"frequency": "weekly",
"url": "http://example.com",
"schema_type": "strict",
Expand All @@ -140,8 +140,7 @@ def test_update_source(db_interface):
)

new_source = db_interface.update_harvest_source(
old_source.id, {"organization_name": "New Org"}
old_source.id, {"organization_id": "New Org"}
)

assert new_source.organization_name == "New Org"

assert new_source.organization_id == "New Org"

1 comment on commit a944778

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
harvester
   __init__.py50100% 
   ckan_utils.py4222 95%
   exceptions.py420100% 
   harvest.py4256565 85%
   logger_config.py10100% 
   utils.py3522 94%
TOTAL5506987% 

Tests Skipped Failures Errors Time
28 0 💤 0 ❌ 0 🔥 2.021s ⏱️

Please sign in to comment.