We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de6ef19 commit 670b30bCopy full SHA for 670b30b
plumber/ppl/test/workflow/workflow_api_server_test.exs
@@ -1739,12 +1739,21 @@ defmodule Plumber.WorkflowAPI.Server.Test do
1739
# Create
1740
1741
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
+
1750
%{
1751
service: 3,
1752
project_id: UUID.uuid4(),
1753
request_token: UUID.uuid4(),
1754
label: "some_label",
- organization_id: UUID.uuid4()
1755
+ organization_id: UUID.uuid4(),
1756
+ repo: repo
1757
}
1758
|> InternalApi.PlumberWF.CreateRequest.new()
1759
|> create_wf()
0 commit comments