File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/NHibernate.Test/Async/CacheTest Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -87,14 +87,14 @@ public async Task QueryCacheWithScalarReturnAsync()
87
87
using ( var s = OpenSession ( ) )
88
88
{
89
89
var result = await ( s
90
- . CreateSQLQuery ( "select cast(200012 as DECIMAL(19 ,5)) from Simple where id_ = 1" )
90
+ . CreateSQLQuery ( "select cast(200012 as DECIMAL(18 ,5)) from Simple where id_ = 1" )
91
91
. SetCacheable ( true )
92
92
. UniqueResultAsync < decimal > ( ) ) ;
93
93
94
94
Assert . That ( result , Is . EqualTo ( 200012 ) , "Unexpected non-cached result" ) ;
95
95
96
96
result = await ( s
97
- . CreateSQLQuery ( "select cast(200012 as DECIMAL(19 ,5)) from Simple where id_ = 1" )
97
+ . CreateSQLQuery ( "select cast(200012 as DECIMAL(18 ,5)) from Simple where id_ = 1" )
98
98
. SetCacheable ( true )
99
99
. UniqueResultAsync < decimal > ( ) ) ;
100
100
You can’t perform that action at this time.
0 commit comments