diff --git a/backend/tests/uxbox/tests/test_services_colors.clj b/backend/tests/uxbox/tests/test_services_colors.clj index ac13bce19..921f1a4a9 100644 --- a/backend/tests/uxbox/tests/test_services_colors.clj +++ b/backend/tests/uxbox/tests/test_services_colors.clj @@ -16,7 +16,7 @@ (t/deftest color-libraries-crud (let [id (uuid/next) prof (th/create-profile db/pool 2) - team-id (:default-team prof)] + team-id (:default-team-id prof)] (t/testing "create library" (let [data {::sm/type :create-color-library @@ -72,7 +72,7 @@ (t/deftest colors-crud (let [prof (th/create-profile db/pool 1) - team-id (:default-team prof) + team-id (:default-team-id prof) coll (th/create-color-library db/pool team-id 1) color-id (uuid/next)] diff --git a/backend/tests/uxbox/tests/test_services_files.clj b/backend/tests/uxbox/tests/test_services_files.clj index 4f0abc0ed..720b8054c 100644 --- a/backend/tests/uxbox/tests/test_services_files.clj +++ b/backend/tests/uxbox/tests/test_services_files.clj @@ -16,8 +16,8 @@ (t/deftest files-crud (let [prof (th/create-profile db/pool 1) - team-id (:default-team prof) - proj-id (:default-project prof) + team-id (:default-team-id prof) + proj-id (:default-project-id prof) file-id (uuid/next) page-id (uuid/next)] @@ -122,8 +122,8 @@ (t/deftest file-images-crud (let [prof (th/create-profile db/pool 1) - team-id (:default-team prof) - proj-id (:default-project prof) + team-id (:default-team-id prof) + proj-id (:default-project-id prof) file (th/create-file db/pool (:id prof) proj-id 1)] (t/testing "upload file image" diff --git a/backend/tests/uxbox/tests/test_services_icons.clj b/backend/tests/uxbox/tests/test_services_icons.clj index 0faad20ec..b29b49ecb 100644 --- a/backend/tests/uxbox/tests/test_services_icons.clj +++ b/backend/tests/uxbox/tests/test_services_icons.clj @@ -16,7 +16,7 @@ (t/deftest icon-libraries-crud (let [id (uuid/next) prof (th/create-profile db/pool 2) - team-id (:default-team prof)] + team-id (:default-team-id prof)] (t/testing "create library" (let [data {::sm/type :create-icon-library @@ -89,7 +89,7 @@ (t/deftest icons-crud (let [prof (th/create-profile db/pool 1) - team-id (:default-team prof) + team-id (:default-team-id prof) coll (th/create-icon-library db/pool team-id 1) icon-id (uuid/next)] diff --git a/backend/tests/uxbox/tests/test_services_images.clj b/backend/tests/uxbox/tests/test_services_images.clj index 9869d718a..e50264876 100644 --- a/backend/tests/uxbox/tests/test_services_images.clj +++ b/backend/tests/uxbox/tests/test_services_images.clj @@ -15,7 +15,7 @@ (t/deftest image-libraries-crud (let [id (uuid/next) prof (th/create-profile db/pool 2) - team-id (:default-team prof)] + team-id (:default-team-id prof)] (t/testing "create library" (let [data {::sm/type :create-image-library @@ -96,7 +96,7 @@ (t/deftest images-crud (let [prof (th/create-profile db/pool 1) - team-id (:default-team prof) + team-id (:default-team-id prof) lib (th/create-image-library db/pool team-id 1) image-id (uuid/next)] diff --git a/backend/tests/uxbox/tests/test_services_pages.clj b/backend/tests/uxbox/tests/test_services_pages.clj index 5275c443e..2447d8028 100644 --- a/backend/tests/uxbox/tests/test_services_pages.clj +++ b/backend/tests/uxbox/tests/test_services_pages.clj @@ -16,8 +16,8 @@ (t/deftest pages-crud (let [prof (th/create-profile db/pool 1) - team-id (:default-team prof) - proj-id (:default-project prof) + team-id (:default-team-id prof) + proj-id (:default-project-id prof) file (th/create-file db/pool (:id prof) proj-id 1) page-id (uuid/next)] @@ -93,8 +93,8 @@ (t/deftest update-page-data (let [prof (th/create-profile db/pool 1) - team-id (:default-team prof) - proj-id (:default-project prof) + team-id (:default-team-id prof) + proj-id (:default-project-id prof) file (th/create-file db/pool (:id prof) proj-id 1) page-id (uuid/next)] @@ -169,8 +169,8 @@ (t/deftest update-page-data-2 (let [prof (th/create-profile db/pool 1) - team-id (:default-team prof) - proj-id (:default-project prof) + team-id (:default-team-id prof) + proj-id (:default-project-id prof) file (th/create-file db/pool (:id prof) proj-id 1) page (th/create-page db/pool (:id prof) (:id file) 1)] (t/testing "lagging changes" diff --git a/backend/tests/uxbox/tests/test_services_viewer.clj b/backend/tests/uxbox/tests/test_services_viewer.clj index 47761dc91..63d5b4efe 100644 --- a/backend/tests/uxbox/tests/test_services_viewer.clj +++ b/backend/tests/uxbox/tests/test_services_viewer.clj @@ -17,8 +17,8 @@ (t/deftest retrieve-bundle (let [prof (th/create-profile db/pool 1) prof2 (th/create-profile db/pool 2) - team-id (:default-team prof) - proj-id (:default-project prof) + team-id (:default-team-id prof) + proj-id (:default-project-id prof) file (th/create-file db/pool (:id prof) proj-id 1) page (th/create-page db/pool (:id prof) (:id file) 1)