From d2fd13836c2d6a1d72e70d858f37325d1b0c5fe1 Mon Sep 17 00:00:00 2001 From: dineshsalunke Date: Sat, 20 Jan 2024 10:18:05 +0530 Subject: [PATCH] test: use the correct fields for the test case --- tests/integration/api_project_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/api_project_test.go b/tests/integration/api_project_test.go index 2754e1f3a4b..03ada633367 100644 --- a/tests/integration/api_project_test.go +++ b/tests/integration/api_project_test.go @@ -57,7 +57,8 @@ func TestAPICreateOrgProject(t *testing.T) { assert.Equal(t, title, apiProject.Title) assert.Equal(t, description, apiProject.Description) assert.Equal(t, boardType, apiProject.BoardType) - assert.Equal(t, "org17", apiProject.Creator.UserName) + assert.Equal(t, "user2", apiProject.Creator.UserName) + assert.Equal(t, "org17", apiProject.Owner.UserName) } func TestAPICreateRepoProject(t *testing.T) {