Vadim Kovalenko
62376f437e
Replace UserIdentity::getUserId with ::getId
...
Bug: T275482
Change-Id: Ie9fd52005ca1eb264dc791a2f87d7308a9e8810e
2021-03-08 09:18:49 -05:00
Daimona Eaytoy
92ecccbdc7
Simplify AbuseFilterBlockTest
...
Requires injecting a temporary block factory, and excluding
ManualLogEntry::insert from the test, but it's now much cleaner and
quicker.
It still cannot be a unit test due to the usage of User.
Change-Id: Iba9732d6d79733b31b45eb4d0187b1c8a82499dc
2021-03-05 14:18:01 +00:00
Daimona Eaytoy
01b61b5e6a
Re-enable AbuseFilterBlockTest::testRevert
...
Bug: T272124
Change-Id: Ic8ee8d2ce2b04e5cd0345efdb1e8f9653ef83bf3
2021-01-15 13:01:19 +01:00
Kosta Harlan
77656948ba
tests: Mark testRevert as skipped due to unrelated failure
...
Bug: T272124
Change-Id: I99985cbf0a37f0d6c7f30dffa6d34408c0ec72ed
2021-01-15 09:53:26 +01:00
Daimona Eaytoy
ab2ad164ff
Improve coverage around consequences
...
Add a lot more unit tests, improve code testability, remove duplicated
integration tests.
Change-Id: Id8c9266ae107217047f267296070f26f575889d1
2021-01-15 00:51:04 +00:00