mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 03:51:08 +00:00
Fixes absolute_id in self_connector test
This commit is contained in:
parent
30350f035e
commit
d92c9af9c3
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class SelfConnector(TestCase):
|
|||
def test_format_search_result(self):
|
||||
result = self.connector.format_search_result(self.edition)
|
||||
self.assertEqual(result.title, 'Edition of Example Work')
|
||||
self.assertEqual(result.key, self.edition.absolute_id)
|
||||
self.assertEqual(result.key, self.edition.remote_id)
|
||||
self.assertEqual(result.author, 'Anonymous')
|
||||
self.assertEqual(result.year, 1980)
|
||||
|
||||
|
|
Loading…
Reference in a new issue