Skip to content

Commit

Permalink
Testfix
Browse files Browse the repository at this point in the history
  • Loading branch information
squidsoup committed Sep 10, 2019
1 parent 7a8bc9e commit 659fca3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ui/src/app/settings/reducers/scripts/scripts.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ describe("scripts reducer", () => {
});
});

it("should correctly reduce DELETE_SCRIPT_NOTIFY", () => {
it("should correctly reduce DELETE_SCRIPT_SUCCESS", () => {
expect(
scripts(
{
Expand All @@ -94,16 +94,16 @@ describe("scripts reducer", () => {
saving: false
},
{
payload: 2,
type: "DELETE_SCRIPT_NOTIFY"
type: "DELETE_SCRIPT_SUCCESS",
payload: 2
}
)
).toEqual({
errors: {},
items: [{ id: 1, name: "script-1" }],
loaded: false,
loading: false,
saved: false,
saved: true,
saving: false
});
});
Expand Down

0 comments on commit 659fca3

Please sign in to comment.