Skip to content

Commit

Permalink
fixup! feat: remove seed from internal storage if we have it from config
Browse files Browse the repository at this point in the history
  • Loading branch information
Juiced66 committed Oct 15, 2024
1 parent c79dbaa commit 4c92fc7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/kuzzle/internalIndexHandler.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ describe("#kuzzle/InternalIndexHandler", () => {
"core:storage:private:document:get",
internalIndexName,
"config",
"security.jwt.secret",
internalIndexHandler._JWT_SECRET_ID,
)
.resolves({
_source: {
Expand All @@ -368,23 +368,23 @@ describe("#kuzzle/InternalIndexHandler", () => {
"core:storage:private:document:exists",
internalIndexName,
"config",
"security.jwt.secret",
internalIndexHandler._JWT_SECRET_ID,
)
.resolves(false);
kuzzle.ask
.withArgs(
"core:storage:private:document:create",
internalIndexName,
"config",
"security.jwt.secret",
internalIndexHandler._JWT_SECRET_ID,
)
.resolves();
kuzzle.ask
.withArgs(
"core:storage:private:document:get",
internalIndexName,
"config",
"security.jwt.secret",
internalIndexHandler._JWT_SECRET_ID,
)
.resolves({
_source: {
Expand Down

0 comments on commit 4c92fc7

Please sign in to comment.