Skip to content

Commit

Permalink
Revert "Revert "fix(readme.md): Remove unnecessary badges from Readme""
Browse files Browse the repository at this point in the history
  • Loading branch information
Erika-Grine authored Nov 24, 2021
1 parent bbb7502 commit d66e9f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# IBM Cloud App ID Node.js SDK

[![IBM Cloud powered][img-ibmcloud-powered]][url-ibmcloud]
[![Travis][img-travis-master]][url-travis-master]
[![Coveralls][img-coveralls-master]][url-coveralls-master]
[![Codacy][img-codacy]][url-codacy]
[![Version][img-version]][url-npm]
[![DownloadsMonthly][img-npm-downloads-monthly]][url-npm]
[![DownloadsTotal][img-npm-downloads-total]][url-npm]
Expand Down Expand Up @@ -621,11 +619,5 @@ This package contains code licensed under the Apache License, Version 2.0 (the "
[img-github-forks]: https://img.shields.io/github/forks/ibm-cloud-security/appid-serversdk-nodejs.svg?style=social&label=Fork
[url-github-forks]: https://github.com/ibm-cloud-security/appid-serversdk-nodejs/network

[img-travis-master]: https://travis-ci.org/ibm-cloud-security/appid-serversdk-nodejs.svg
[url-travis-master]: https://travis-ci.org/ibm-cloud-security/appid-serversdk-nodejs

[img-coveralls-master]: https://coveralls.io/repos/github/ibm-cloud-security/appid-serversdk-nodejs/badge.svg
[url-coveralls-master]: https://coveralls.io/github/ibm-cloud-security/appid-serversdk-nodejs

[img-codacy]: https://api.codacy.com/project/badge/Grade/3156f40a37cb4026a443082fc1afcaa4?branch=master
[url-codacy]: https://www.codacy.com/app/ibm-cloud-security/appid-serversdk-nodejs
4 changes: 2 additions & 2 deletions test/common-util-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ describe("/lib/utils/common-util", function () {
const stringName = 'testString';
const formData = {
"grant_type": "urn:ibm:params:oauth:grant-type:apikey",
"apikey": "2hntsFCUIw1hgPp31iRjcYllURtWeelFBgHYm4-ol3XB"
"apikey": "dummyAPIKEY-FCUIw1hgPp31iRjcYllURtWeelFBgHYm4-key"
}

const urlEncodedData = 'grant_type=urn%3Aibm%3Aparams%3Aoauth%3Agrant-type%3Aapikey&apikey=2hntsFCUIw1hgPp31iRjcYllURtWeelFBgHYm4-ol3XB';
const urlEncodedData = 'grant_type=urn%3Aibm%3Aparams%3Aoauth%3Agrant-type%3Aapikey&apikey=dummyAPIKEY-FCUIw1hgPp31iRjcYllURtWeelFBgHYm4-key';

it('should successfully convert the formData to URLencoded format', () => {
expect(commonUtil.jsonToURLencodedForm(formData)).to.equal(urlEncodedData);
Expand Down

0 comments on commit d66e9f3

Please sign in to comment.