Skip to content

Commit

Permalink
Make test less flaky by ordering GetApps query
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasDorier committed Jan 30, 2023
1 parent b818352 commit 1431329
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions BTCPayServer/Services/Apps/AppService.cs
Expand Up @@ -446,6 +446,7 @@ public async Task<ListAppsViewModel.ListAppViewModel[]> GetAllApps(string userId
Id = app.Id,
Created = app.Created,
})
.OrderBy(b => b.Created)
.ToArrayAsync();

foreach (ListAppsViewModel.ListAppViewModel app in listApps)
Expand Down

0 comments on commit 1431329

Please sign in to comment.