File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed
arangodb-net-standard.Test/CursorApi Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -148,21 +148,7 @@ public async Task PostCursorAsync_ShouldSucceed_WhenUsingOtherOptions()
148148 new Dictionary < string , object > { [ "testString" ] = "robbery" } ,
149149 new PostCursorOptions
150150 {
151- MaxRuntime = 10
152- } ) ;
153-
154- Assert . Single ( response . Result ) ;
155- Assert . Equal ( "This is a robbery" , response . Result . First ( ) . MyProperty ) ;
156- }
157-
158- [ Fact ]
159- public async Task PostCursorAsync_ShouldSucceed_WhenUsingNewOptions ( )
160- {
161- var response = await _cursorApi . PostCursorAsync < MyModel > (
162- "FOR doc IN [{ myProperty: CONCAT('This is a ', @testString) }] LIMIT 1 RETURN doc" ,
163- new Dictionary < string , object > { [ "testString" ] = "test" } ,
164- new PostCursorOptions
165- {
151+ MaxRuntime = 10 ,
166152 AllowDirtyReads = false ,
167153 AllowRetry = true ,
168154 Cache = false ,
@@ -176,7 +162,7 @@ public async Task PostCursorAsync_ShouldSucceed_WhenUsingNewOptions()
176162 } ) ;
177163
178164 Assert . Single ( response . Result ) ;
179- Assert . Equal ( "This is a test " , response . Result . First ( ) . MyProperty ) ;
165+ Assert . Equal ( "This is a robbery " , response . Result . First ( ) . MyProperty ) ;
180166 }
181167
182168 [ Fact ]
You can’t perform that action at this time.
0 commit comments