From 0459a840fe0d769ec3246eef68b54f17f6d4bd00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Vidis?= Date: Thu, 6 Jun 2019 12:46:06 +0200 Subject: [PATCH 1/2] [hotfix] fix functional tests --- lib/api/core/notifier.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/api/core/notifier.js b/lib/api/core/notifier.js index 1629700982..177c86ddd1 100644 --- a/lib/api/core/notifier.js +++ b/lib/api/core/notifier.js @@ -36,8 +36,14 @@ const class NotifierController { constructor(kuzzle) { this.kuzzle = kuzzle; - this.cache = kuzzle.services.list.internalCache; - this.storage = kuzzle.services.list.storageEngine; + } + + get cache () { + return this.kuzzle.services.list.internalCache; + } + + get storage () { + return this.kuzzle.services.list.storageEngine; } /** From 5a8478c8ab250bfd2c09c02a4c48fcb0fde669de Mon Sep 17 00:00:00 2001 From: Alexandre Bouthinon Date: Thu, 6 Jun 2019 13:29:07 +0200 Subject: [PATCH 2/2] Fix Slack notifications --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fda916706d..48fafd8333 100644 --- a/.travis.yml +++ b/.travis.yml @@ -192,7 +192,7 @@ jobs: script: - docker-compose -f .ci/test.yml run kuzzle - - stage: "Redis old versions tests" + - stage: "Redis tests" if: type = cron name: "Redis 4" @@ -260,6 +260,6 @@ jobs: notifications: slack: rooms: - - secure: "MlWnTEJwmn4Wq6sH2PRfrLRPhwIiqPUNB9AuulKKXheTfY74zHvlCe0TAUM5x8IaccJT4GKG7tnpLU4ujzNyL4AbqzCkUjZvaq2+NT1YJ4xJ2AXe4NDjuj8Cr0GyeotJA6FMHLAyDtGbVvuomktUp49pL7+QbG5kcUMtZ2wQ1swfWlk9zf8xH4lpO7Nyd96xXj7fpZaWGM06VCloJ45wxLmvUOEY5nDEoZ0LyOFyH8zx4WuNZH7jkp0JFQwiuFp+VpyPhnynBcMyyUi7rlrJxfq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