fixed unit test

This commit is contained in:
Gerhard Janse van Rensburg 2020-01-22 13:29:30 +02:00 committed by Michael Vorburger ⛑️
parent 2913deef49
commit 174cef4f4b

View File

@ -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 () {