Skip to content

Commit 63b3ad1

Browse files
committed
[WIP] #3 - manually added the new Constants.scala
1 parent 88b1b96 commit 63b3ad1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Diff for: src/test/scala/Constants.scala

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import com.ning.http.client.AsyncHttpClient
32
import codecheck.github.api.GitHubAPI
43
import scala.concurrent.duration._
@@ -12,9 +11,6 @@ trait Constants {
1211
protected val TIMEOUT = 5 seconds
1312
protected val api = Constants.API
1413

15-
protected val user = "fanwashere" //REQUIRED: Edit this to your own username.
16-
protected val userRepo = "test-repo" //Remove this later!!!!!!!!!!!!
17-
1814
//Request membership of dummy organization "celestialbeing" if you are not member. Do not edit.
1915
protected val organization = "celestialbeings"
2016
protected val repo = "test-repo"
@@ -28,7 +24,12 @@ trait Constants {
2824
println(v)
2925
}
3026
}
27+
28+
protected val user = sys.env("GITHUB_USER")
29+
protected val userRepo = sys.env("GITHUB_REPO")
30+
3131
protected val otherUser = "shunjikonishi"
32+
protected val collaboratorUser = "givery-dev"
3233
protected val otherUserInvalid = "loremipsom123"
3334
protected val organizationInvalid = "loremipsom123"
3435
protected val repoInvalid = "loremipsom123"

0 commit comments

Comments
 (0)