From 79ba674e6eb6957ab350dbe769cc18f3c91ec883 Mon Sep 17 00:00:00 2001 From: Darek Stopka Date: Tue, 12 Sep 2023 10:37:40 +0200 Subject: [PATCH] Update test for empty body --- test/src/api_test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/src/api_test.js b/test/src/api_test.js index 436751d..4253825 100644 --- a/test/src/api_test.js +++ b/test/src/api_test.js @@ -280,8 +280,8 @@ describe('Api', function () { assert.strictEqual(this.api.request.method, 'GET'); }); - it('ensures a default empty body', function () { - assert.strictEqual(this.api.request.body, ''); + it('ensures a default undefined body', function () { + assert.strictEqual(this.api.request.body, undefined); }); it('ensures a url is properly declared', function () {