@@ -10,11 +10,11 @@ class CollaboratorOpSpec extends FunSpec with api.Constants
10
10
{
11
11
12
12
describe(" addCollaborator" ){
13
- it (" should add Collaborator User to user Repo" ){
13
+ ignore (" should add Collaborator User to user Repo" ){
14
14
val res = Await .result(api.addCollaborator(user, userRepo, collaboratorUser),TIMEOUT )
15
15
assert(res)
16
16
}
17
- it (" should fail for non existent User Repo" ){
17
+ ignore (" should fail for non existent User Repo" ){
18
18
val res = Await .result(api.addCollaborator(user, repoInvalid, collaboratorUser).failed,TIMEOUT )
19
19
res match {
20
20
case e : NotFoundException =>
@@ -23,17 +23,17 @@ class CollaboratorOpSpec extends FunSpec with api.Constants
23
23
}
24
24
}
25
25
describe(" isCollaborator" ){
26
- it (" if it is Collaborator" ){
26
+ ignore (" if it is Collaborator" ){
27
27
val res = Await .result(api.isCollaborator(user, userRepo, collaboratorUser),TIMEOUT )
28
28
assert(res)
29
29
}
30
- it (" if it is not a valid Collaborator" ){
30
+ ignore (" if it is not a valid Collaborator" ){
31
31
val res1 = Await .result(api.isCollaborator(user, userRepo, otherUserInvalid),TIMEOUT )
32
32
assert(res1 == false )
33
33
}
34
34
}
35
35
describe(" listCollaborators" ){
36
- it (" should return at least one Collaborator" ){
36
+ ignore (" should return at least one Collaborator" ){
37
37
val res = Await .result(api.listCollaborators(user, userRepo),TIMEOUT )
38
38
val c = res.find(_.login == collaboratorUser)
39
39
assert(c.isDefined)
@@ -44,12 +44,12 @@ class CollaboratorOpSpec extends FunSpec with api.Constants
44
44
}
45
45
}
46
46
describe(" removeCollaborator" ){
47
- it (" should remove the Collaborator" ){
47
+ ignore (" should remove the Collaborator" ){
48
48
var res = Await .result(api.removeCollaborator(user, userRepo, collaboratorUser),TIMEOUT )
49
49
assert(res == true )
50
50
}
51
51
}
52
- it (" should fail for non existent User Repo" ){
52
+ ignore (" should fail for non existent User Repo" ){
53
53
var res = Await .result(api.removeCollaborator(user, repoInvalid, collaboratorUser).failed,TIMEOUT )
54
54
res match {
55
55
case e : NotFoundException =>
0 commit comments