Add test on tagAllForUser

And fix multiplication of entries returned by `tagAllForUser`.
This commit is contained in:
Jeremy Benoist
2015-12-27 23:48:57 +01:00
parent fc031e5706
commit e9fa8c40aa
2 changed files with 26 additions and 1 deletions

View File

@ -65,7 +65,6 @@ class RuleBasedTagger
$tag = $this->getTag($user, $label);
$entry->addTag($tag);
$entries[] = $entry;
}
}
}