Skip to content

Commit 760c790

Browse files
committed
Update PullRequestOpSpec
1 parent cbc5ebd commit 760c790

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/test/scala/Constants.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ trait Constants {
3131
protected val userRepo = sys.env("GITHUB_REPO")
3232

3333
protected val otherUser = "shunjikonishi"
34+
protected val otherUserRepo = "test-repo"
3435
protected val collaboratorUser = "shunjikonishi"
3536
protected val otherUserInvalid = "loremipsom123"
3637
protected val organizationInvalid = "loremipsom123"

src/test/scala/PullRequestOpSpec.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import java.util.Date
77
class PullRequestOpSpec extends FunSpec with Constants {
88

99
describe("createPullRequest(owner, repo, input)") {
10-
val username = "shunjikonishi"
11-
val reponame = "test-repo"
10+
val username = otherUser
11+
val reponame = otherUserRepo
1212

1313
it("should success create and close") {
1414
val title = "Test Pull Request " + new Date().toString()

0 commit comments

Comments
 (0)