Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed tests by changing OAuth token

  • Loading branch information...
commit b0b2054bf5b922c0b31b551c65c14b775a66e147 1 parent 3f56822
@mikedeboer mikedeboer authored
View
2  api/v3.0.0/authorizationTest.js
@@ -14,7 +14,7 @@ var Client = require("./../../index");
describe("[authorization]", function() {
var client;
- var token = "e5a4a27487c26e571892846366de023349321a73";
+ var token = "c286e38330e15246a640c2cf32a45ea45d93b2ba";
beforeEach(function() {
client = new Client({
View
2  api/v3.0.0/eventsTest.js
@@ -14,7 +14,7 @@ var Client = require("./../../index");
describe("[events]", function() {
var client;
- var token = "e5a4a27487c26e571892846366de023349321a73";
+ var token = "c286e38330e15246a640c2cf32a45ea45d93b2ba";
beforeEach(function() {
client = new Client({
View
2  api/v3.0.0/gistsTest.js
@@ -14,7 +14,7 @@ var Client = require("./../../index");
describe("[gists]", function() {
var client;
- var token = "e5a4a27487c26e571892846366de023349321a73";
+ var token = "c286e38330e15246a640c2cf32a45ea45d93b2ba";
timeout(5000);
beforeEach(function() {
View
2  api/v3.0.0/gitdataTest.js
@@ -14,7 +14,7 @@ var Client = require("./../../index");
describe("[gitdata]", function() {
var client;
- var token = "e5a4a27487c26e571892846366de023349321a73";
+ var token = "c286e38330e15246a640c2cf32a45ea45d93b2ba";
beforeEach(function() {
client = new Client({
View
2  api/v3.0.0/issuesTest.js
@@ -14,7 +14,7 @@ var Client = require("./../../index");
describe("[issues]", function() {
var client;
- var token = "e5a4a27487c26e571892846366de023349321a73";
+ var token = "c286e38330e15246a640c2cf32a45ea45d93b2ba";
beforeEach(function() {
client = new Client({
View
2  api/v3.0.0/markdownTest.js
@@ -14,7 +14,7 @@ var Client = require("./../../index");
describe("[markdown]", function() {
var client;
- var token = "e5a4a27487c26e571892846366de023349321a73";
+ var token = "c286e38330e15246a640c2cf32a45ea45d93b2ba";
beforeEach(function() {
client = new Client({
View
2  api/v3.0.0/orgsTest.js
@@ -14,7 +14,7 @@ var Client = require("./../../index");
describe("[orgs]", function() {
var client;
- var token = "e5a4a27487c26e571892846366de023349321a73";
+ var token = "c286e38330e15246a640c2cf32a45ea45d93b2ba";
beforeEach(function() {
client = new Client({
View
2  api/v3.0.0/pullRequestsTest.js
@@ -14,7 +14,7 @@ var Client = require("./../../index");
describe("[pullRequests]", function() {
var client;
- var token = "e5a4a27487c26e571892846366de023349321a73";
+ var token = "c286e38330e15246a640c2cf32a45ea45d93b2ba";
beforeEach(function() {
client = new Client({
View
2  api/v3.0.0/reposTest.js
@@ -14,7 +14,7 @@ var Client = require("./../../index");
describe("[repos]", function() {
var client;
- var token = "e5a4a27487c26e571892846366de023349321a73";
+ var token = "c286e38330e15246a640c2cf32a45ea45d93b2ba";
beforeEach(function() {
client = new Client({
View
2  api/v3.0.0/searchTest.js
@@ -14,7 +14,7 @@ var Client = require("./../../index");
describe("[search]", function() {
var client;
- var token = "e5a4a27487c26e571892846366de023349321a73";
+ var token = "c286e38330e15246a640c2cf32a45ea45d93b2ba";
beforeEach(function() {
client = new Client({
View
2  api/v3.0.0/statusesTest.js
@@ -14,7 +14,7 @@ var Client = require("./../../index");
describe("[statuses]", function() {
var client;
- var token = "e5a4a27487c26e571892846366de023349321a73";
+ var token = "c286e38330e15246a640c2cf32a45ea45d93b2ba";
beforeEach(function() {
client = new Client({
View
2  api/v3.0.0/userTest.js
@@ -14,7 +14,7 @@ var Client = require("./../../index");
describe("[user]", function() {
var client;
- var token = "e5a4a27487c26e571892846366de023349321a73";
+ var token = "c286e38330e15246a640c2cf32a45ea45d93b2ba";
beforeEach(function() {
client = new Client({
View
2  templates/test_section.js.tpl
@@ -14,7 +14,7 @@ var Client = require("./../../index");
describe("[<%sectionName%>]", function() {
var client;
- var token = "e5a4a27487c26e571892846366de023349321a73";
+ var token = "c286e38330e15246a640c2cf32a45ea45d93b2ba";
beforeEach(function() {
client = new Client({
View
3  test/oauth_server.js
@@ -6,11 +6,14 @@ var github = new GitHubApi({
version: "3.0.0"
});
+/*
+!!!UNCOMMENT THE FOLLOWING TO MAKE THIS SCRIPT WORK, BUT CHANGE THE CREDENTIALS TO YOUR OWN!!!
github.authenticate({
type: "basic",
username: "mikedeboertest",
password: "test1324"
});
+*/
github.authorization.getAll({}, function(err, res) {
if (err)
Please sign in to comment.
Something went wrong with that request. Please try again.