File tree 1 file changed +1
-1
lines changed
NpgsqlRestTests/UploadTests
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public async Task Test_simple_upload_test1()
54
54
rootElement . GetProperty ( "type" ) . GetString ( ) . Should ( ) . Be ( "large_object" , "because the type should match the expected value" ) ;
55
55
rootElement . GetProperty ( "fileName" ) . GetString ( ) . Should ( ) . Be ( "test-data.csv" , "because the fileName should match the expected value" ) ;
56
56
rootElement . GetProperty ( "contentType" ) . GetString ( ) . Should ( ) . Be ( "text/csv" , "because the contentType should match the expected value" ) ;
57
- rootElement . GetProperty ( "size" ) . GetInt32 ( ) . Should ( ) . Be ( 57 , "because the size should match the expected value" ) ;
57
+ rootElement . GetProperty ( "size" ) . GetInt32 ( ) . Should ( ) . BeOneOf ( 53 , 57 ) ;
58
58
rootElement . GetProperty ( "oid" ) . ValueKind . Should ( ) . Be ( JsonValueKind . Number , "because oid should be a number" ) ;
59
59
rootElement . GetProperty ( "oid" ) . TryGetInt32 ( out _ ) . Should ( ) . BeTrue ( "because oid should be a valid integer" ) ;
60
60
You can’t perform that action at this time.
0 commit comments