Skip to content

Commit d563c76

Browse files
committed
testserver: remove unused GetWorkspace method
Co-authored-by: Denis Bilenko
1 parent 95249c0 commit d563c76

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

libs/testserver/server.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -296,12 +296,6 @@ Response.Body = '<response body here>'
296296
return s
297297
}
298298

299-
// GetWorkspace returns (creating if necessary) the FakeWorkspace for the given token.
300-
// Use this in tests to pre-seed state before making requests.
301-
func (s *Server) GetWorkspace(token string) *FakeWorkspace {
302-
return s.getWorkspaceForToken(token)
303-
}
304-
305299
func (s *Server) getWorkspaceForToken(token string) *FakeWorkspace {
306300
if token == "" {
307301
return nil

0 commit comments

Comments
 (0)