Add return bool to HandleRequest to better trigger failures

This commit is contained in:
Dean Herbert
2021-03-23 18:08:32 +09:00
parent ce452565f4
commit aeff9bd853
11 changed files with 75 additions and 26 deletions

View File

@ -85,9 +85,10 @@ namespace osu.Game.Tests.Visual.Online
dummyAPI.HandleRequest = request =>
{
if (!(request is GetCommentsRequest getCommentsRequest))
return;
return false;
getCommentsRequest.TriggerSuccess(commentBundle);
return true;
};
});