mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-12-28 05:25:55 +00:00
Fixed breaking test case
This commit is contained in:
parent
4f42dc56c1
commit
ccf90c02ed
1 changed files with 2 additions and 2 deletions
|
@ -61,8 +61,8 @@ test("NullStateProvider saves outputs", async () => {
|
||||||
});
|
});
|
||||||
const cacheMatchedKey = "node-cache";
|
const cacheMatchedKey = "node-cache";
|
||||||
const nullStateProvider: IStateProvider = new NullStateProvider();
|
const nullStateProvider: IStateProvider = new NullStateProvider();
|
||||||
nullStateProvider.setState("outputKey", "outputValue");
|
nullStateProvider.setState(State.CacheMatchedKey, "outputValue");
|
||||||
nullStateProvider.setState(State.CacheMatchedKey, cacheMatchedKey);
|
nullStateProvider.setState(State.CachePrimaryKey, cacheMatchedKey);
|
||||||
nullStateProvider.getState("outputKey");
|
nullStateProvider.getState("outputKey");
|
||||||
nullStateProvider.getCacheState();
|
nullStateProvider.getCacheState();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue