Skip to content

Commit

Permalink
fix 2017 year to 2018 in predicate declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Jan 5, 2018
1 parent f1f93f3 commit c453bc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test-occurrences-download_request.py
Expand Up @@ -24,7 +24,7 @@ def test_gbif_creation(self):

req = GbifDownload("name", "email")
self.assertIsInstance(req.payload, dict)
self.assertDictEqual(req.payload, {'created': 2017, 'creator': 'name',
self.assertDictEqual(req.payload, {'created': 2018, 'creator': 'name',
'notification_address': ['email'],
'predicate': {'predicates': [],
'type': 'and'},
Expand All @@ -36,7 +36,7 @@ def test_alternative_main_type(self):
req = GbifDownload("name", "email")
req.main_pred_type = "or"
self.assertIsInstance(req.payload, dict)
self.assertDictEqual(req.payload, {'created': 2017, 'creator': 'name',
self.assertDictEqual(req.payload, {'created': 2018, 'creator': 'name',
'notification_address': ['email'],
'predicate': {'predicates': [],
'type': 'or'},
Expand Down

0 comments on commit c453bc2

Please sign in to comment.