@@ -17,7 +17,7 @@ var hookId;
17
17
describe ( 'hook.test.js' , function ( ) {
18
18
before ( function ( done ) {
19
19
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 ) {
21
21
if ( err ) {
22
22
return done ( err ) ;
23
23
}
@@ -55,12 +55,12 @@ describe('hook.test.js', function () {
55
55
56
56
describe ( 'client.hooks.create(), update(), remove()' , function ( ) {
57
57
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 ) {
59
59
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' ) ;
61
61
client . hooks . update ( { id : client . id , hook_id : hook . id , url : hook . url + '/update' } , function ( err , hook ) {
62
62
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' ) ;
64
64
done ( ) ;
65
65
// client.hooks.remove({id: 223, hook_id: hook.id}, function (err, hook) {
66
66
// should.not.exists(err);
0 commit comments