Skip to content
This repository was archived by the owner on Nov 4, 2025. It is now read-only.

Commit 528c06a

Browse files
committed
fix
1 parent 29e3119 commit 528c06a

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/test/scala/tv/teads/github/api/services/DeploymentServiceSpec.scala

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class DeploymentServiceSpec extends BaseSpec {
1919
""".stripMargin
2020

2121
val deployment = DeploymentParam(
22-
ref = "test-pr",
22+
ref = "test-deployment",
2323
task = Some("github-api-client/DeploymentServiceSpec"),
2424
description = Some("github-api-client DeploymentServiceSpec Unit test - create"),
2525
environment = Some("test"),
@@ -28,29 +28,29 @@ class DeploymentServiceSpec extends BaseSpec {
2828

2929
)
3030

31-
whenReady(teadsClient.deployments.create("github-api-client", deployment)) { opt
31+
whenReady(teadsClient.deployments.create("github-api-client_test", deployment)) { opt
3232
opt should not be empty
3333
}
3434
}
3535

3636
it should "create a deployment with empty payload for github-api-client repository branch test-pr" in {
3737

3838
val deployment = DeploymentParam(
39-
ref = "test-pr",
39+
ref = "test-deployment",
4040
task = Some("github-api-client/DeploymentServiceSpec"),
4141
description = Some("github-api-client DeploymentServiceSpec Unit test - create with empty payload"),
4242
environment = Some("test"),
4343
auto_merge = Some(false)
4444
)
4545

46-
whenReady(teadsClient.deployments.create("github-api-client", deployment)) { opt
46+
whenReady(teadsClient.deployments.create("github-api-client_test", deployment)) { opt
4747
opt should not be empty
4848
}
4949
}
5050

5151
it should "be able to fetch github-api-client deployments" in {
5252

53-
whenReady(teadsClient.deployments.list("github-api-client", DeploymentFilter())) { list
53+
whenReady(teadsClient.deployments.list("github-api-client_test", DeploymentFilter())) { list
5454
list should not be empty
5555
}
5656
}
@@ -62,14 +62,14 @@ class DeploymentServiceSpec extends BaseSpec {
6262
target_url = Some("https://www.google.com")
6363
)
6464

65-
whenReady(teadsClient.deployments.createStatus("github-api-client", 3775791, status)) { opt
65+
whenReady(teadsClient.deployments.createStatus("github-api-client_test", 3775791, status)) { opt
6666
opt should not be empty
6767
}
6868
}
6969

7070
it should "be able to fetch github-api-client deployments statuses" in {
7171

72-
whenReady(teadsClient.deployments.listStatuses("github-api-client", 3775791)) { list
72+
whenReady(teadsClient.deployments.listStatuses("github-api-client_test", 3775791)) { list
7373
list should not be empty
7474
}
7575
}

0 commit comments

Comments
 (0)