Permalink
Browse files

MINOR Reverted MemberTest assertion, previously broken by recent Many…

…ManyList and Member foreign key refactoring
  • Loading branch information...
1 parent 829c768 commit 8690e531a5bb1fa746156ac53d08cfbd9db1b7e2 @chillu chillu committed Mar 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/security/MemberTest.php
@@ -344,7 +344,7 @@ function testAddToGroupByCode() {
$grouplessMember->addToGroupByCode('memberless');
- $this->assertEquals($memberlessGroup->Members()->Count(), 0);
+ $this->assertEquals($memberlessGroup->Members()->Count(), 1);
$this->assertEquals($grouplessMember->Groups()->Count(), 1);
$grouplessMember->addToGroupByCode('somegroupthatwouldneverexist', 'New Group');

0 comments on commit 8690e53

Please sign in to comment.