diff --git a/__tests__/stateProvider.test.ts b/__tests__/stateProvider.test.ts index 4c588ac..bb1b231 100644 --- a/__tests__/stateProvider.test.ts +++ b/__tests__/stateProvider.test.ts @@ -61,8 +61,8 @@ test("NullStateProvider saves outputs", async () => { }); const cacheMatchedKey = "node-cache"; const nullStateProvider: IStateProvider = new NullStateProvider(); - nullStateProvider.setState("outputKey", "outputValue"); - nullStateProvider.setState(State.CacheMatchedKey, cacheMatchedKey); + nullStateProvider.setState(State.CacheMatchedKey, "outputValue"); + nullStateProvider.setState(State.CachePrimaryKey, cacheMatchedKey); nullStateProvider.getState("outputKey"); nullStateProvider.getCacheState();