Skip to content

Commit

Permalink
Updated the logic of checking the number of default templates
Browse files Browse the repository at this point in the history
  • Loading branch information
yankunhuang-pku committed Mar 11, 2022
1 parent 506be89 commit dd5019b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public async Task GivenDefaultTemplateReference_WhenGetTemplateCollectionFromTem
ImageInfo imageInfo = ImageInfo.CreateFromImageReference(imageReference);
var newTemplateCollectionProvider = new TemplateCollectionProvider(imageInfo, _emptyClient, _cache, _defaultConfig);
var templateCollection = await newTemplateCollectionProvider.GetTemplateCollectionAsync();
Assert.Equal(expectedTemplatesCounts, templateCollection.First().Count());
Assert.True(expectedTemplatesCounts <= templateCollection.First().Count());
}

[Fact]
Expand Down

0 comments on commit dd5019b

Please sign in to comment.