Skip to content

Commit

Permalink
fix: Fix usage of SpaceService API in Tests - MEED-7590 - Meeds-io/me…
Browse files Browse the repository at this point in the history
  • Loading branch information
boubaker committed Oct 14, 2024
1 parent e4fc49c commit da6a447
Showing 1 changed file with 0 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@
*/
public class SpaceServiceMock implements SpaceService {


public Space getSpaceByDisplayName(String spaceDisplayName) {
return null;
}


public Space getSpaceByPrettyName(String spacePrettyName) {
return null;
}
Expand Down Expand Up @@ -274,22 +272,10 @@ public void saveSpace(Space space, boolean isNew) throws SpaceException {
}


public void renameSpace(Space space, String newDisplayName) throws SpaceException {
}


public void deleteSpace(String spaceId) throws SpaceException {
}


public void addMember(String spaceId, String userId) throws SpaceException {
}


public void removeMember(String spaceId, String userId) throws SpaceException {
}


public List<String> getMembers(Space space) throws SpaceException {
return null;
}
Expand Down Expand Up @@ -327,12 +313,6 @@ public boolean isOnlyLeader(String spaceId, String userId) throws SpaceException
return false;
}


public boolean isMember(String spaceId, String userId) throws SpaceException {
return false;
}


public boolean hasAccessPermission(String spaceId, String userId) throws SpaceException {
return false;
}
Expand Down Expand Up @@ -400,10 +380,6 @@ public void removeApplication(String spaceId, String appId, String appName) thro
}


public void updateSpaceAccessed(String remoteId, Space space) throws SpaceException {
}


public List<Space> getLastAccessedSpace(String remoteId, String appId, int offset, int limit) throws SpaceException {
return null;
}
Expand Down

0 comments on commit da6a447

Please sign in to comment.