mirror of
https://github.com/openMF/community-app.git
synced 2026-02-06 11:26:51 +00:00
fixed unit test
This commit is contained in:
parent
2913deef49
commit
174cef4f4b
@ -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 () {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user