From 77dd3abb2a25afe4f4548057d989abe329a062c4 Mon Sep 17 00:00:00 2001 From: Gregor Date: Tue, 16 Apr 2019 20:46:28 -0700 Subject: [PATCH] refactor: fix deprecations --- test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.js b/test.js index c0f0a4b..1e6f0d8 100644 --- a/test.js +++ b/test.js @@ -23,7 +23,7 @@ test('octokit.issues.addLabels() sends labels in request body', t => { const options = { owner: 'octokit', repo: 'rest.js', - number: 1, + issue_number: 1, labels: ['foo', 'bar'] } @@ -47,7 +47,7 @@ test('octokit.issues.replaceLabels() sends labels in request body', t => { const options = { owner: 'octokit', repo: 'rest.js', - number: 1, + issue_number: 1, labels: ['foo', 'bar'] }