AbstractDaemonTest: Record events as the admin user

By default the regular user cannot see events on refs/meta/config.

Use the admin user instead, rather than having to explicitly give
permissions to the regular user as needed.

Change-Id: I56034667c44d76a6e5a320ad215a27c168c772dd
This commit is contained in:
David Pursehouse 2016-06-21 12:14:36 +09:00
parent 556fefd607
commit 54a1d96890

View File

@ -258,7 +258,7 @@ public abstract class AbstractDaemonTest {
@Before
public void startEventRecorder() {
eventRecorder = eventRecorderFactory.create(user);
eventRecorder = eventRecorderFactory.create(admin);
}
@After