diff --git a/auth/store/store_test.go b/auth/store/store_test.go index 3de11bc3b6d7e2a122af2a2849c2bc729effa88e..acd6156c50ddca150e755826e8481fbb91c3d5f2 100644 --- a/auth/store/store_test.go +++ b/auth/store/store_test.go @@ -277,7 +277,7 @@ func TestStore_GetReceivedRequest_RequestDeleted(t *testing.T) { } // Check if the request's mutex is locked - if reflect.ValueOf(rr.mux).Elem().FieldByName("state").Int() != 0 { + if reflect.ValueOf(&rr.mux).Elem().FieldByName("state").Int() != 0 { t.Errorf("GetReceivedRequest() did not unlock mutex.") } }