     }
     
     func testEndpointURLCreationForSCMBranches() {
-        let params = [
-            "rev": "revValue",
-            "bot": "botValue",
-            "integration": "integrationValue",
-            "otherKey": "otherValue"
-        ]
-        let url = self.endpoints?.endpointURL(.SCM_Branches, params: params)
-        XCTAssertEqual(url!, "/api/scm/branches", "endpointURL(.SCM_Branches, \(params)) should return \"/api/scm/branches\"")
+        let url = self.endpoints?.endpointURL(.SCM_Branches, params: self.randomParams)
+        XCTAssertEqual(url!, "/api/scm/branches", "endpointURL(.SCM_Branches, \(self.randomParams)) should return \"/api/scm/branches\"")
     }
     
     // MARK: endpointURL(.Repositories)

    }
    
    func testEndpointURLCreationForAuthLogout() {
        let params = [
            "rev": "revValue",
            "bot": "botValue",
            "integration": "integrationValue",
            "otherKey": "otherValue"
        ]
        let url = self.endpoints?.endpointURL(.Logout, params: params)
        XCTAssertEqual(url!, "/api/auth/logout", "endpointURL(.Logout, \(params)) should return \"/api/auth/logout\"")
    }
    
    // MARK: endpointURL(.Platforms)

    }
    
    func testEndpointURLCreationForDevices() {
        let url = self.endpoints?.endpointURL(.Devices, params: self.randomParams)
        XCTAssertEqual(url!, "/api/devices", "endpointURL(.Devices, \(self.randomParams)) should return \"/api/devices\"")
    }
    
    // MARK: endpointURL(.UserCanCreateBots)
