File tree Expand file tree Collapse file tree
test/OrchardCore.Tests/DisplayManagement/Notify Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- using System . Text . Encodings . Web ;
21using System . Text . Json ;
3- using Microsoft . AspNetCore . Html ;
4- using Microsoft . AspNetCore . Mvc . Localization ;
5- using Microsoft . Extensions . Logging . Abstractions ;
62using OrchardCore . DisplayManagement . Notify ;
73
84namespace OrchardCore . Tests . DisplayManagement . Notify ;
@@ -61,7 +57,7 @@ public void NotifyEntryConverter_RoundTripsMilliseconds()
6157 var json = JsonSerializer . Serialize ( entry , options ) ;
6258 var result = JsonSerializer . Deserialize < NotifyEntry > ( json , options ) ;
6359
64- Assert . Contains ( @"""Milliseconds "":3000" , json ) ;
60+ Assert . Contains ( @"""DismissalMilliseconds "":3000" , json ) ;
6561 Assert . NotNull ( result ) ;
6662 Assert . Equal ( NotifyType . Warning , result . Type ) ;
6763 Assert . Equal ( 3000 , result . DismissalMilliseconds ) ;
You can’t perform that action at this time.
0 commit comments