private async Task WhenProcessPendingUpdatesAsyncIsCalled() { await Execute( async context => { PullRequestActor actor = CreateActor(context); await actor.Implementation.ProcessPendingUpdatesAsync(); }); }
private async Task WhenUpdateAssetsAsyncIsCalled(Build forBuild) { await Execute( async context => { PullRequestActor actor = CreateActor(context); await actor.Implementation.UpdateAssetsAsync( Subscription.Id, forBuild.Id, NewCommit, forBuild.Assets.Select( a => new Asset { Name = a.Name, Version = a.Version }) .ToList()); }); }