add tests for exec and getConnection methods in HttpRequest class
[arvados.git] / sdk / R / tests / testthat / fakes / FakeRESTService.R
index 08e8717de5e4b97b5776c2c6cc8893c523f4c133..048013f566a3c737188dc04f876bee6d9ae8dd90 100644 (file)
@@ -153,14 +153,14 @@ FakeRESTService <- R6::R6Class(
             self$returnContent
         },
 
-        write = function(uuid, relativePath, content, contentType)
+        write = function(relativePath, uuid, content, contentType)
         {
             self$writeBuffer <- content
             self$writeCallCount <- self$writeCallCount + 1
             self$returnContent
         },
 
-        getConnection = function(relativePath, uuid, openMode)
+        getConnection = function(uuid, relativePath, openMode)
         {
             self$getConnectionCallCount <- self$getConnectionCallCount + 1
             self$returnContent