From ea65118d99f064db6f99b87d1d61602da24fd521 Mon Sep 17 00:00:00 2001 From: Christian Cueni Date: Wed, 12 May 2021 15:21:37 +0200 Subject: [PATCH] Fix HepClient tests --- server/oauth/tests/test_hep_client.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/server/oauth/tests/test_hep_client.py b/server/oauth/tests/test_hep_client.py index 931018c3..b4031e01 100644 --- a/server/oauth/tests/test_hep_client.py +++ b/server/oauth/tests/test_hep_client.py @@ -71,7 +71,7 @@ class HepClientTestCases(TestCase): 'id': 0 }, 'activated': self.now - timedelta(7), - 'status': 'complete' + 'status': 'paid' }, { 'license': TEACHER_LICENSE, @@ -80,7 +80,7 @@ class HepClientTestCases(TestCase): 'id': 1 }, 'activated': self.now - timedelta(3 * TEACHER_LICENSE['duration']), - 'status': 'complete' + 'status': 'paid' }, { 'license': TEACHER_LICENSE, @@ -89,7 +89,7 @@ class HepClientTestCases(TestCase): 'id': 2 }, 'activated': self.now - timedelta(4 * TEACHER_LICENSE['duration']), - 'status': 'complete' + 'status': 'paid' } ] @@ -105,7 +105,7 @@ class HepClientTestCases(TestCase): 'id': 0 }, 'activated': self.now - timedelta(7), - 'status': 'complete' + 'status': 'paid' }, { 'license': TEACHER_LICENSE, @@ -114,7 +114,7 @@ class HepClientTestCases(TestCase): 'id': 1 }, 'activated': self.now - timedelta(3 * TEACHER_LICENSE['duration']), - 'status': 'complete' + 'status': 'paid' }, { 'license': TEACHER_LICENSE, @@ -123,7 +123,7 @@ class HepClientTestCases(TestCase): 'id': 2 }, 'activated': self.now - timedelta(4 * TEACHER_LICENSE['duration']), - 'status': 'complete' + 'status': 'paid' } ] @@ -139,7 +139,7 @@ class HepClientTestCases(TestCase): 'id': 0 }, 'activated': self.now - timedelta(7), - 'status': 'complete' + 'status': 'paid' }, { 'license': TEACHER_LICENSE, @@ -148,7 +148,7 @@ class HepClientTestCases(TestCase): 'id': 1 }, 'activated': self.now - timedelta(7), - 'status': 'complete' + 'status': 'paid' } ]