Skip to content

Commit

Permalink
Merge 0e793e0 into 83eb251
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Oct 22, 2017
2 parents 83eb251 + 0e793e0 commit a22320d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ New features:

Bug fixes:

- Fix test in Zope4, where Products.PlonePAS.tools.memberdata.MemberData is an
adapter now and cant be proofed to e equal ahen fetched twice.
[jensens]

- Change api.group.get_groups to work with CMF master.
[jaroel]

Expand Down
3 changes: 1 addition & 2 deletions src/plone/api/tests/test_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,7 @@ def test_get(self):
email='chuck@norris.org',
password='secret',
)

self.assertEqual(api.user.get('chuck'), user)
self.assertEqual(api.user.get('chuck').id, user.id)

def test_get_current(self):
"""Test getting the currently logged-in user."""
Expand Down

0 comments on commit a22320d

Please sign in to comment.