diff --git a/cmd/mothd/state_filesystem_test.go b/cmd/mothd/state_filesystem_test.go index c51cf3d..d657d11 100644 --- a/cmd/mothd/state_filesystem_test.go +++ b/cmd/mothd/state_filesystem_test.go @@ -633,7 +633,7 @@ func TestStateDeleteTeamIDList(t *testing.T) { s := NewTestState() s.refresh() - afero.Remove(s, "teamids.txt") + s.Fs.Remove("teamids.txt") teamIDs, err := s.TeamIDs()