From 1c7d5d48dce44cde21a8042f9c76c2ffc01af130 Mon Sep 17 00:00:00 2001 From: coopflow <38353969+coopflow@users.noreply.github.com> Date: Thu, 22 Aug 2019 13:05:56 +0200 Subject: [PATCH] Update linting --- test/plugin.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/plugin.test.js b/test/plugin.test.js index bcf0ec3..3a0c51c 100644 --- a/test/plugin.test.js +++ b/test/plugin.test.js @@ -111,7 +111,7 @@ test('Should create a new stripe customer with multiple named Stripe instance', t.ok(fastify.stripe) t.ok(fastify.stripe.test.customers) - fastify.stripe['test'].customers.create({ email: 'demo@demo.tld' }, function (err, customers) { + fastify.stripe.test.customers.create({ email: 'demo@demo.tld' }, function (err, customers) { if (err) { t.fail() } @@ -212,6 +212,6 @@ test('Should throw when trying to register multiple instances without giving a n }) fastify.ready(errors => { - t.is(errors.message, `fastify-stripe has already been registered`) + t.is(errors.message, 'fastify-stripe has already been registered') }) })