Skip to content

Commit 6df74af

Browse files
committed
update
1 parent 28488fa commit 6df74af

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/hook.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var hookId;
1717
describe('hook.test.js', function () {
1818
before(function (done) {
1919
client.createProject(function (err) {
20-
client.hooks.create({id: client.id, url: 'http://gitlab.alibaba-inc.com/help/api'}, function (err, data) {
20+
client.hooks.create({id: client.id, url: 'http://gitlab.com/help/api'}, function (err, data) {
2121
if (err) {
2222
return done(err);
2323
}
@@ -55,12 +55,12 @@ describe('hook.test.js', function () {
5555

5656
describe('client.hooks.create(), update(), remove()', function () {
5757
it('should create, update, remove a hook', function (done) {
58-
client.hooks.create({id: client.id, url: 'http://gitlab.alibaba-inc.com/help/api'}, function (err, hook) {
58+
client.hooks.create({id: client.id, url: 'http://gitlab.com/help/api'}, function (err, hook) {
5959
should.not.exists(err);
60-
hook.url.should.equal('http://gitlab.alibaba-inc.com/help/api');
60+
hook.url.should.equal('http://gitlab.com/help/api');
6161
client.hooks.update({id: client.id, hook_id: hook.id, url: hook.url + '/update'}, function (err, hook) {
6262
should.not.exists(err);
63-
hook.url.should.equal('http://gitlab.alibaba-inc.com/help/api/update');
63+
hook.url.should.equal('http://gitlab.com/help/api/update');
6464
done();
6565
// client.hooks.remove({id: 223, hook_id: hook.id}, function (err, hook) {
6666
// should.not.exists(err);

0 commit comments

Comments
 (0)