diff --git a/test/spec/services/AuthenticationServiceSpec.js b/test/spec/services/AuthenticationServiceSpec.js index 1818f167..ec0d9f86 100644 --- a/test/spec/services/AuthenticationServiceSpec.js +++ b/test/spec/services/AuthenticationServiceSpec.js @@ -21,7 +21,7 @@ describe("AuthenticationService", function () { }); it("should pass the correct parameters to the post method", function () { - expect(httpService.post).toHaveBeenCalledWith("/fineract-provider/api/v1/authentication?username=test_username&password=test_password"); + expect(httpService.post).toHaveBeenCalledWith("/fineract-provider/api/v1/authentication", { "username" : "test_username", "password" : "test_password" }); }); it("should broadcast 'UserAuthenticationStartEvent'", function () {