nomad: update method signature for tests

This commit is contained in:
Armon Dadgar 2017-08-07 16:58:12 -07:00
parent f147f25fe5
commit 8a4dda8577

View file

@ -1866,8 +1866,7 @@ func TestFSM_SnapshotRestore_ACLPolicy(t *testing.T) {
state := fsm.State()
p1 := mock.ACLPolicy()
p2 := mock.ACLPolicy()
state.UpsertACLPolicy(1000, p1)
state.UpsertACLPolicy(1001, p2)
state.UpsertACLPolicies(1000, []*structs.ACLPolicy{p1, p2})
// Verify the contents
fsm2 := testSnapshotRestore(t, fsm)