Skip to content

Commit 670b30b

Browse files
committed
fix(plumber): create workflow test
1 parent de6ef19 commit 670b30b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

plumber/ppl/test/workflow/workflow_api_server_test.exs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1739,12 +1739,21 @@ defmodule Plumber.WorkflowAPI.Server.Test do
17391739
# Create
17401740

17411741
test "gRPC create() - create workflow" do
1742+
repo = %{
1743+
owner: UUID.uuid4(),
1744+
repo_name: "test-repo",
1745+
branch_name: "main",
1746+
commit_sha: UUID.uuid4()
1747+
}
1748+
|> InternalApi.PlumberWF.CreateRequest.Repo.new()
1749+
17421750
%{
17431751
service: 3,
17441752
project_id: UUID.uuid4(),
17451753
request_token: UUID.uuid4(),
17461754
label: "some_label",
1747-
organization_id: UUID.uuid4()
1755+
organization_id: UUID.uuid4(),
1756+
repo: repo
17481757
}
17491758
|> InternalApi.PlumberWF.CreateRequest.new()
17501759
|> create_wf()

0 commit comments

Comments
 (0)