diff --git a/bc_obps/registration/fixtures/mock/bc_obps_regulated_operation.json b/bc_obps/registration/fixtures/mock/bc_obps_regulated_operation.json index 565757a1ba..9547bdcdcb 100644 --- a/bc_obps/registration/fixtures/mock/bc_obps_regulated_operation.json +++ b/bc_obps/registration/fixtures/mock/bc_obps_regulated_operation.json @@ -18,7 +18,7 @@ { "model": "registration.bcobpsregulatedoperation", "fields": { - "id": "21-0003", + "id": "24-0003", "issued_at": "2023-10-13T15:27:00.000Z", "comments": "Test comment" } @@ -26,7 +26,7 @@ { "model": "registration.bcobpsregulatedoperation", "fields": { - "id": "21-0004", + "id": "24-0004", "issued_at": "2023-10-13T15:27:00.000Z", "comments": "Test comment" } @@ -34,7 +34,7 @@ { "model": "registration.bcobpsregulatedoperation", "fields": { - "id": "21-0005", + "id": "24-0005", "issued_at": "2023-10-13T15:27:00.000Z", "comments": "Test comment" } @@ -42,7 +42,7 @@ { "model": "registration.bcobpsregulatedoperation", "fields": { - "id": "21-0006", + "id": "24-0006", "issued_at": "2023-10-13T15:27:00.000Z", "comments": "Test comment" } @@ -50,7 +50,7 @@ { "model": "registration.bcobpsregulatedoperation", "fields": { - "id": "21-0007", + "id": "24-0007", "issued_at": "2023-10-13T15:27:00.000Z", "comments": "Test comment" } @@ -58,7 +58,7 @@ { "model": "registration.bcobpsregulatedoperation", "fields": { - "id": "21-0008", + "id": "24-0008", "issued_at": "2023-10-13T15:27:00.000Z", "comments": "Test comment" } @@ -66,7 +66,7 @@ { "model": "registration.bcobpsregulatedoperation", "fields": { - "id": "21-0009", + "id": "24-0009", "issued_at": "2023-10-13T15:27:00.000Z", "comments": "Test comment" } @@ -74,7 +74,7 @@ { "model": "registration.bcobpsregulatedoperation", "fields": { - "id": "21-0010", + "id": "24-0010", "issued_at": "2023-10-13T15:27:00.000Z", "comments": "Test comment" } @@ -82,7 +82,7 @@ { "model": "registration.bcobpsregulatedoperation", "fields": { - "id": "21-0011", + "id": "24-0011", "issued_at": "2023-10-13T15:27:00.000Z", "comments": "Test comment" } @@ -90,7 +90,7 @@ { "model": "registration.bcobpsregulatedoperation", "fields": { - "id": "21-0012", + "id": "24-0012", "issued_at": "2023-10-13T15:27:00.000Z", "comments": "Test comment" } @@ -98,7 +98,7 @@ { "model": "registration.bcobpsregulatedoperation", "fields": { - "id": "21-0013", + "id": "24-0013", "issued_at": "2023-10-13T15:27:00.000Z", "comments": "Test comment" } @@ -106,7 +106,7 @@ { "model": "registration.bcobpsregulatedoperation", "fields": { - "id": "21-0014", + "id": "24-0014", "issued_at": "2023-10-13T15:27:00.000Z", "comments": "Test comment" } @@ -114,7 +114,7 @@ { "model": "registration.bcobpsregulatedoperation", "fields": { - "id": "21-0015", + "id": "24-0015", "issued_at": "2023-10-13T15:27:00.000Z", "comments": "Test comment" } @@ -122,7 +122,7 @@ { "model": "registration.bcobpsregulatedoperation", "fields": { - "id": "21-0016", + "id": "24-0016", "issued_at": "2023-10-13T15:27:00.000Z", "comments": "Test comment" } @@ -130,7 +130,7 @@ { "model": "registration.bcobpsregulatedoperation", "fields": { - "id": "21-0017", + "id": "24-0017", "issued_at": "2023-10-13T15:27:00.000Z", "comments": "Test comment" } @@ -138,7 +138,7 @@ { "model": "registration.bcobpsregulatedoperation", "fields": { - "id": "21-0018", + "id": "24-0018", "issued_at": "2023-10-13T15:27:00.000Z", "comments": "Test comment" } diff --git a/bc_obps/registration/fixtures/mock/facility.json b/bc_obps/registration/fixtures/mock/facility.json index 5705b9760a..25ee172f9d 100644 --- a/bc_obps/registration/fixtures/mock/facility.json +++ b/bc_obps/registration/fixtures/mock/facility.json @@ -342,7 +342,6 @@ "name": "Facility 25", "type": "Single Facility", "swrs_facility_id": 1025, - "bcghg_id": "13219990028", "latitude_of_largest_emissions": 43.5, "longitude_of_largest_emissions": -123.5 } @@ -356,7 +355,6 @@ "name": "Facility 26", "type": "Single Facility", "swrs_facility_id": 1026, - "bcghg_id": "13219990029", "latitude_of_largest_emissions": 43.5, "longitude_of_largest_emissions": -123.5 } @@ -370,7 +368,6 @@ "name": "Facility 27", "type": "Single Facility", "swrs_facility_id": 1027, - "bcghg_id": "13219990030", "latitude_of_largest_emissions": 43.5, "longitude_of_largest_emissions": -123.5 } @@ -384,7 +381,6 @@ "name": "Facility 28", "type": "Single Facility", "swrs_facility_id": 1028, - "bcghg_id": "13219990031", "latitude_of_largest_emissions": 43.5, "longitude_of_largest_emissions": -123.5 } @@ -398,7 +394,6 @@ "name": "Facility 29", "type": "Single Facility", "swrs_facility_id": 1029, - "bcghg_id": "13219990032", "latitude_of_largest_emissions": 43.5, "longitude_of_largest_emissions": -123.5 } @@ -412,7 +407,6 @@ "name": "Facility 30", "type": "Single Facility", "swrs_facility_id": 1030, - "bcghg_id": "13219990033", "latitude_of_largest_emissions": 43.5, "longitude_of_largest_emissions": -123.5 } @@ -426,7 +420,6 @@ "name": "Facility 31", "type": "Single Facility", "swrs_facility_id": 1031, - "bcghg_id": "13219990034", "latitude_of_largest_emissions": 43.5, "longitude_of_largest_emissions": -123.5 } @@ -440,7 +433,6 @@ "type": "Single Facility", "name": "Facility 32", "swrs_facility_id": 1032, - "bcghg_id": "13219990035", "latitude_of_largest_emissions": 43.5, "longitude_of_largest_emissions": -123.5 } @@ -454,7 +446,6 @@ "name": "Facility 33", "type": "Single Facility", "swrs_facility_id": 1033, - "bcghg_id": "13219990036", "latitude_of_largest_emissions": 43.5, "longitude_of_largest_emissions": -123.5 } @@ -468,7 +459,6 @@ "name": "Facility 34", "type": "Single Facility", "swrs_facility_id": 1034, - "bcghg_id": "13219990037", "latitude_of_largest_emissions": 43.5, "longitude_of_largest_emissions": -123.5 } @@ -482,7 +472,6 @@ "name": "Facility 35", "type": "Single Facility", "swrs_facility_id": 1035, - "bcghg_id": "13219990038", "latitude_of_largest_emissions": 43.5, "longitude_of_largest_emissions": -123.5 } @@ -496,7 +485,6 @@ "name": "Facility 36", "type": "Single Facility", "swrs_facility_id": 1036, - "bcghg_id": "13219990039", "latitude_of_largest_emissions": 43.5, "longitude_of_largest_emissions": -123.5 } @@ -510,7 +498,6 @@ "name": "Facility 37", "type": "Single Facility", "swrs_facility_id": 1037, - "bcghg_id": "13219990040", "latitude_of_largest_emissions": 43.5, "longitude_of_largest_emissions": -123.5 } @@ -524,7 +511,6 @@ "name": "Facility 38", "type": "Single Facility", "swrs_facility_id": 1038, - "bcghg_id": "13219990041", "latitude_of_largest_emissions": 43.5, "longitude_of_largest_emissions": -123.5 } @@ -538,7 +524,6 @@ "name": "Facility 39", "type": "Single Facility", "swrs_facility_id": 1039, - "bcghg_id": "13219990042", "latitude_of_largest_emissions": 43.5, "longitude_of_largest_emissions": -123.5 } @@ -552,7 +537,6 @@ "name": "Facility 40", "type": "Single Facility", "swrs_facility_id": 1040, - "bcghg_id": "13219990043", "latitude_of_largest_emissions": 43.5, "longitude_of_largest_emissions": -123.5 } @@ -566,7 +550,6 @@ "name": "Facility 41", "type": "Single Facility", "swrs_facility_id": 1041, - "bcghg_id": "13219990044", "latitude_of_largest_emissions": 43.5, "longitude_of_largest_emissions": -123.5 } @@ -580,7 +563,6 @@ "name": "Facility 42", "type": "Single Facility", "swrs_facility_id": 1042, - "bcghg_id": "13219990045", "latitude_of_largest_emissions": 43.5, "longitude_of_largest_emissions": -123.5 } @@ -594,7 +576,6 @@ "name": "Facility 43", "type": "Single Facility", "swrs_facility_id": 1043, - "bcghg_id": "13219990046", "latitude_of_largest_emissions": 43.5, "longitude_of_largest_emissions": -123.5 } diff --git a/bc_obps/registration/fixtures/mock/facility_designated_operation_timeline.json b/bc_obps/registration/fixtures/mock/facility_designated_operation_timeline.json index 178ec85e60..1abc40fba6 100644 --- a/bc_obps/registration/fixtures/mock/facility_designated_operation_timeline.json +++ b/bc_obps/registration/fixtures/mock/facility_designated_operation_timeline.json @@ -239,7 +239,7 @@ "created_by": "00000000-0000-0000-0000-000000000001", "created_at": "2024-06-20T23:20:02Z", "facility": "67fd8288-422b-43d3-a9b1-e4ddc54e2139", - "operation": "c0743c09-82fa-4186-91aa-4b5412e3415c", + "operation": "df62d793-8cfe-4272-a93e-ea9c9139ff82", "start_date": "2024-06-28T23:20:02Z" } }, @@ -256,7 +256,7 @@ { "model": "registration.facilitydesignatedoperationtimeline", "fields": { - "created_by": "00000000-0000-0000-0000-000000000001", + "created_by": "00000000-0000-0000-0000-000000000004", "created_at": "2024-06-20T23:20:02Z", "facility": "f4eb89dd-e081-4576-8663-b789c4a20478", "operation": "d99725a7-1c3a-47cb-a59b-e2388ce0fa18", @@ -266,7 +266,7 @@ { "model": "registration.facilitydesignatedoperationtimeline", "fields": { - "created_by": "00000000-0000-0000-0000-000000000001", + "created_by": "00000000-0000-0000-0000-000000000004", "created_at": "2024-06-20T23:20:02Z", "facility": "6d564423-abfe-4579-ba92-2c6c71c37bb9", "operation": "436dd99a-cb41-4494-91c9-98ab149b557d", diff --git a/bc_obps/registration/fixtures/mock/operation.json b/bc_obps/registration/fixtures/mock/operation.json index a52769e976..f8140d2c1e 100644 --- a/bc_obps/registration/fixtures/mock/operation.json +++ b/bc_obps/registration/fixtures/mock/operation.json @@ -11,7 +11,7 @@ "naics_code": 19, "swrs_facility_id": 1001, "status": "Registered", - "bc_obps_regulated_operation": "21-0014", + "bc_obps_regulated_operation": "24-0014", "created_at": "2024-2-01T15:27:00.000Z", "activities": [1, 5], "registration_purpose": "Reporting Operation" @@ -31,7 +31,26 @@ "bcghg_id": "23219990004", "regulated_products": [1], "status": "Registered", - "bc_obps_regulated_operation": "21-0015", + "bc_obps_regulated_operation": "24-0015", + "created_at": "2024-2-02T15:27:00.000Z", + "activities": [1, 5], + "contacts": [10], + "registration_purpose": "OBPS Regulated Operation" + } + }, + { + "model": "registration.operation", + "pk": "556ceeb0-7e24-4d89-b639-61f625f82084", + "fields": { + "point_of_contact": 1, + "operator": "4242ea9d-b917-4129-93c2-db00b7451051", + "documents": [], + "name": "Charlie LFO - Draft -- no facility", + "type": "Linear Facility Operation", + "naics_code": 20, + "opt_in": false, + "regulated_products": [1], + "status": "Draft", "created_at": "2024-2-02T15:27:00.000Z", "activities": [1, 5], "contacts": [10], @@ -98,7 +117,7 @@ "regulated_products": [1, 2], "registration_purpose": "OBPS Regulated Operation", "status": "Registered", - "bc_obps_regulated_operation": "21-0003", + "bc_obps_regulated_operation": "24-0003", "created_at": "2024-1-29T15:27:00.000Z", "activities": [1, 5], "operation_has_multiple_operators": true @@ -119,7 +138,7 @@ "bcghg_id": "23219999999", "regulated_products": [1], "status": "Registered", - "bc_obps_regulated_operation": "21-0004", + "bc_obps_regulated_operation": "24-0004", "created_at": "2024-1-28T15:27:00.000Z", "activities": [1, 5], "registration_purpose": "Opted-in Operation" @@ -139,7 +158,7 @@ "opt_in": false, "bcghg_id": "23219990006", "status": "Registered", - "bc_obps_regulated_operation": "21-0005", + "bc_obps_regulated_operation": "24-0005", "created_at": "2024-1-27T15:27:00.000Z", "activities": [1, 5], "registration_purpose": "Potential Reporting Operation" @@ -159,7 +178,7 @@ "opt_in": false, "bcghg_id": "23219990007", "status": "Registered", - "bc_obps_regulated_operation": "21-0006", + "bc_obps_regulated_operation": "24-0006", "created_at": "2024-1-26T15:27:00.000Z", "activities": [1, 5], "registration_purpose": "Electricity Import Operation" @@ -180,7 +199,7 @@ "bcghg_id": "23219990008", "regulated_products": [2], "status": "Registered", - "bc_obps_regulated_operation": "21-0007", + "bc_obps_regulated_operation": "24-0007", "created_at": "2024-1-25T15:27:00.000Z", "activities": [1, 5], "registration_purpose": "New Entrant Operation" @@ -198,9 +217,8 @@ "type": "Single Facility Operation", "naics_code": 21, "opt_in": false, - "bcghg_id": "23219990009", "status": "Registered", - "bc_obps_regulated_operation": "21-0008", + "bc_obps_regulated_operation": "24-0008", "created_at": "2024-1-24T15:27:00.000Z", "activities": [1, 5], "registration_purpose": "Reporting Operation" @@ -221,7 +239,7 @@ "bcghg_id": "23219990010", "regulated_products": [3], "status": "Registered", - "bc_obps_regulated_operation": "21-0009", + "bc_obps_regulated_operation": "24-0009", "created_at": "2024-1-23T15:27:00.000Z", "activities": [1, 5], "registration_purpose": "OBPS Regulated Operation" @@ -241,7 +259,7 @@ "opt_in": false, "bcghg_id": "23219990011", "status": "Registered", - "bc_obps_regulated_operation": "21-0010", + "bc_obps_regulated_operation": "24-0010", "created_at": "2024-1-22T15:27:00.000Z", "activities": [1, 5], "registration_purpose": "Reporting Operation" @@ -259,10 +277,9 @@ "type": "Single Facility Operation", "naics_code": 21, "opt_in": false, - "bcghg_id": "23219990012", "regulated_products": [3, 4], "status": "Registered", - "bc_obps_regulated_operation": "21-0011", + "bc_obps_regulated_operation": "24-0011", "created_at": "2024-1-21T15:27:00.000Z", "activities": [1, 5], "registration_purpose": "OBPS Regulated Operation" @@ -276,13 +293,13 @@ "operator": "4242ea9d-b917-4129-93c2-db00b7451051", "documents": [], "submission_date": "2024-01-22T15:27:00.000Z", - "name": "Bojangles SFO - Transferred", + "name": "Bojangles SFO - Not Started", "type": "Single Facility Operation", "naics_code": 21, "opt_in": false, "bcghg_id": "23219990013", "created_at": "2024-1-20T15:27:00.000Z", - "status": "Transferred", + "status": "Not Started", "registration_purpose": "Electricity Import Operation" } }, @@ -294,13 +311,13 @@ "operator": "4242ea9d-b917-4129-93c2-db00b7451051", "documents": [], "submission_date": "2024-01-23T15:27:00.000Z", - "name": "Brine SFO - Closed", + "name": "Brine SFO - Not Started", "type": "Single Facility Operation", "naics_code": 21, "opt_in": false, "bcghg_id": "23219990014", "regulated_products": [3], - "status": "Closed", + "status": "Not Started", "created_at": "2024-1-19T15:27:00.000Z", "activities": [1, 5], "registration_purpose": "OBPS Regulated Operation" @@ -314,12 +331,12 @@ "operator": "4242ea9d-b917-4129-93c2-db00b7451051", "documents": [], "submission_date": "2024-01-24T15:27:00.000Z", - "name": "Bling SFO - Temp Shutdown", + "name": "Bling SFO - Draft", "type": "Single Facility Operation", "naics_code": 21, "opt_in": false, "bcghg_id": "23219990015", - "status": "Temporarily Shutdown", + "status": "Draft", "created_at": "2024-1-18T15:27:00.000Z", "activities": [1, 5], "registration_purpose": "Potential Reporting Operation" @@ -340,7 +357,7 @@ "bcghg_id": "23219990016", "regulated_products": [5], "status": "Registered", - "bc_obps_regulated_operation": "21-0012", + "bc_obps_regulated_operation": "24-0012", "created_at": "2024-1-17T15:27:00.000Z", "activities": [1, 5], "registration_purpose": "OBPS Regulated Operation" @@ -379,7 +396,7 @@ "bcghg_id": "23219990018", "regulated_products": [3], "status": "Registered", - "bc_obps_regulated_operation": "21-0013", + "bc_obps_regulated_operation": "24-0013", "registration_purpose": "New Entrant Operation", "created_at": "2024-1-15T15:27:00.000Z", "activities": [1, 3] @@ -399,7 +416,7 @@ "opt_in": false, "bcghg_id": "23219990019", "status": "Registered", - "bc_obps_regulated_operation": "21-0016", + "bc_obps_regulated_operation": "24-0016", "created_at": "2024-1-14T15:27:00.000Z", "registration_purpose": "Reporting Operation", "activities": [1, 5] @@ -418,7 +435,7 @@ "opt_in": false, "bcghg_id": "23219990020", "status": "Registered", - "bc_obps_regulated_operation": "21-0017", + "bc_obps_regulated_operation": "24-0017", "created_at": "2024-1-13T15:27:00.000Z", "registration_purpose": "Reporting Operation", "activities": [1, 5] @@ -437,7 +454,7 @@ "opt_in": false, "bcghg_id": "23219990021", "status": "Registered", - "bc_obps_regulated_operation": "21-0018", + "bc_obps_regulated_operation": "24-0018", "created_at": "2024-1-12T15:27:00.000Z", "registration_purpose": "Reporting Operation", "activities": [1, 5] @@ -454,7 +471,6 @@ "type": "Single Facility Operation", "naics_code": 21, "opt_in": false, - "bcghg_id": "23219990022", "status": "Draft", "created_at": "2024-1-11T15:27:00.000Z", "activities": [1, 5] @@ -471,7 +487,6 @@ "type": "Single Facility Operation", "naics_code": 21, "opt_in": false, - "bcghg_id": "23219990023", "status": "Draft", "created_at": "2024-1-10T15:27:00.000Z", "activities": [1, 3] diff --git a/bc_obps/registration/fixtures/mock/operation_designated_operator_timeline.json b/bc_obps/registration/fixtures/mock/operation_designated_operator_timeline.json index 30aadb552c..d02902790d 100644 --- a/bc_obps/registration/fixtures/mock/operation_designated_operator_timeline.json +++ b/bc_obps/registration/fixtures/mock/operation_designated_operator_timeline.json @@ -4,10 +4,11 @@ "fields": { "operation": "e1300fd7-2dee-47d1-b655-2ad3fd10f052", "operator": "685d581b-5698-411f-ae00-de1d97334a71", - "created_at": "2024-2-01T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", - "status": "Active" + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", + "end_date": "2024-06-28T23:21:01Z", + "status": "Closed" } }, { @@ -15,9 +16,9 @@ "fields": { "operation": "002d5a9e-32a6-4191-938c-2c02bfec592d", "operator": "4242ea9d-b917-4129-93c2-db00b7451051", - "created_at": "2024-2-02T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, @@ -26,9 +27,9 @@ "fields": { "operation": "3b5b95ea-2a1a-450d-8e2e-2e15feed96c9", "operator": "4242ea9d-b917-4129-93c2-db00b7451051", - "created_at": "2024-1-31T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, @@ -37,9 +38,9 @@ "fields": { "operation": "c0743c09-82fa-4186-91aa-4b5412e3415c", "operator": "685d581b-5698-411f-ae00-de1d97334a71", - "created_at": "2024-1-30T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, @@ -48,21 +49,20 @@ "fields": { "operation": "b65a3fbc-c81a-49c0-a43a-67bd3a0b488e", "operator": "4242ea9d-b917-4129-93c2-db00b7451051", - "created_at": "2024-1-29T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, { "model": "registration.operationdesignatedoperatortimeline", - "fields": { "operation": "d99725a7-1c3a-47cb-a59b-e2388ce0fa18", "operator": "685d581b-5698-411f-ae00-de1d97334a71", - "created_at": "2024-1-28T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, @@ -71,9 +71,9 @@ "fields": { "operation": "436dd99a-cb41-4494-91c9-98ab149b557d", "operator": "685d581b-5698-411f-ae00-de1d97334a71", - "created_at": "2024-1-27T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, @@ -82,21 +82,20 @@ "fields": { "operation": "a47b5fb6-1e10-401a-b70e-574bd925db99", "operator": "685d581b-5698-411f-ae00-de1d97334a71", - "created_at": "2024-1-26T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, { "model": "registration.operationdesignatedoperatortimeline", - "fields": { "operation": "21e70498-c4b0-4525-8443-86faa96206e3", "operator": "685d581b-5698-411f-ae00-de1d97334a71", - "created_at": "2024-1-25T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, @@ -105,9 +104,9 @@ "fields": { "operation": "17550cd8-3e73-4e52-aa91-ab90cb3b62b0", "operator": "685d581b-5698-411f-ae00-de1d97334a71", - "created_at": "2024-1-24T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, @@ -116,9 +115,9 @@ "fields": { "operation": "7d3fc7d1-0504-4ee4-a9c5-447f4b324b57", "operator": "685d581b-5698-411f-ae00-de1d97334a71", - "created_at": "2024-1-23T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, @@ -127,9 +126,9 @@ "fields": { "operation": "acf5811e-d521-43f7-a5c7-a6d6dd47bb31", "operator": "685d581b-5698-411f-ae00-de1d97334a71", - "created_at": "2024-1-22T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, @@ -138,9 +137,9 @@ "fields": { "operation": "8563da83-0762-4d29-9b22-da5b52ef0f24", "operator": "685d581b-5698-411f-ae00-de1d97334a71", - "created_at": "2024-1-21T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, @@ -149,9 +148,9 @@ "fields": { "operation": "df62d793-8cfe-4272-a93e-ea9c9139ff82", "operator": "4242ea9d-b917-4129-93c2-db00b7451051", - "created_at": "2024-1-20T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000001", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, @@ -160,9 +159,9 @@ "fields": { "operation": "c5b3643b-c143-42f3-8a2b-03ccc7319cd9", "operator": "4242ea9d-b917-4129-93c2-db00b7451051", - "created_at": "2024-1-19T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, @@ -171,9 +170,9 @@ "fields": { "operation": "954c0382-ff61-4e87-a8a0-873586534b54", "operator": "4242ea9d-b917-4129-93c2-db00b7451051", - "created_at": "2024-1-18T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, @@ -182,9 +181,9 @@ "fields": { "operation": "6d07d02a-1ad2-46ed-ad56-2f84313e98bf", "operator": "4242ea9d-b917-4129-93c2-db00b7451051", - "created_at": "2024-1-17T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, @@ -193,9 +192,9 @@ "fields": { "operation": "59d95661-c752-489b-9fd1-0c3fa3454dda", "operator": "4242ea9d-b917-4129-93c2-db00b7451051", - "created_at": "2024-1-16T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, @@ -204,9 +203,9 @@ "fields": { "operation": "1bd04128-d070-4d3a-940a-0874c4956181", "operator": "4242ea9d-b917-4129-93c2-db00b7451051", - "created_at": "2024-1-15T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, @@ -215,9 +214,9 @@ "fields": { "operation": "17f13f4d-29b4-45f4-b025-b21f2e126771", "operator": "4242ea9d-b917-4129-93c2-db00b7451051", - "created_at": "2024-1-14T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, @@ -226,9 +225,9 @@ "fields": { "operation": "ef9044dd-2a27-4d26-86fe-02e51e0755f7", "operator": "4242ea9d-b917-4129-93c2-db00b7451051", - "created_at": "2024-1-13T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, @@ -237,9 +236,9 @@ "fields": { "operation": "aeeb781e-a97b-4ab2-9a6e-02e4522add1a", "operator": "4242ea9d-b917-4129-93c2-db00b7451051", - "created_at": "2024-1-12T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, @@ -248,9 +247,9 @@ "fields": { "operation": "02a3ab84-26c6-4a79-bf89-72f877ceef8e", "operator": "4242ea9d-b917-4129-93c2-db00b7451051", - "created_at": "2024-1-11T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, @@ -259,9 +258,32 @@ "fields": { "operation": "0ac72fa9-2636-4f54-b378-af6b1a070787", "operator": "4242ea9d-b917-4129-93c2-db00b7451051", - "created_at": "2024-1-10T15:27:00.000Z", - "created_by": "ba2ba62a-1218-42e0-942a-ab9e92ce8822", - "start_date": "2024-12-06T21:09:07Z", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", + "status": "Active" + } + }, + { + "model": "registration.operationdesignatedoperatortimeline", + "fields": { + "operation": "0ac72fa9-2636-4f54-b378-af6b1a070787", + "operator": "685d581b-5698-411f-ae00-de1d97334a71", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", + "end_date": "2024-06-05T23:20:57Z", + "status": "Transferred" + } + }, + { + "model": "registration.operationdesignatedoperatortimeline", + "fields": { + "operation": "556ceeb0-7e24-4d89-b639-61f625f82084", + "operator": "4242ea9d-b917-4129-93c2-db00b7451051", + "created_by": "00000000-0000-0000-0000-000000000004", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:20:57Z", "status": "Active" } }, @@ -270,8 +292,10 @@ "fields": { "operation": "b35a2095-80e6-4b75-990e-ccf19a57edfa", "operator": "438eff6c-d2e7-40ab-8220-29d3a86ef314", - "status": "Active", - "start_date": "2024-12-06T21:09:07Z" + "created_by": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:21:02.353Z", + "status": "Active" } }, { @@ -279,8 +303,10 @@ "fields": { "operation": "1d59cb82-2776-4785-a8f7-4b13bc9b4579", "operator": "7e8b72dc-4196-427f-a553-7879748139e1", - "status": "Active", - "start_date": "2024-12-06T21:09:07Z" + "created_by": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "created_at": "2024-06-05T23:21:02.353Z", + "start_date": "2024-06-05T23:21:02.353Z", + "status": "Active" } }, { @@ -288,8 +314,10 @@ "fields": { "operation": "82e6ac8f-42f2-42a7-b179-132a3488b2e1", "operator": "4c1010c1-55ca-485d-84bd-6d975fd0af90", - "status": "Active", - "start_date": "2024-12-06T21:09:07Z" + "created_by": "00000000-0000-0000-0000-000000000002", + "created_at": "2024-12-06T21:09:07Z", + "start_date": "2024-12-06T21:09:07Z", + "status": "Active" } }, { @@ -297,8 +325,10 @@ "fields": { "operation": "95f6ec29-4b5b-42a2-9759-d4e9c99738d7", "operator": "5712ee05-5f3b-4822-825d-6fffddafda4c", - "status": "Active", - "start_date": "2024-12-06T21:09:07Z" + "created_by": "00000000-0000-0000-0000-000000000007", + "created_at": "2024-12-06T21:09:07Z", + "start_date": "2024-12-06T21:09:07Z", + "status": "Active" } }, { @@ -306,8 +336,10 @@ "fields": { "operation": "1b21579c-87f9-452f-b9c1-c784cb96f62e", "operator": "edb1aff1-f888-4199-ab88-068364496347", - "status": "Active", - "start_date": "2024-12-06T21:09:07Z" + "created_by": "00000000-0000-0000-0000-000000000025", + "created_at": "2024-12-06T21:09:07Z", + "start_date": "2024-12-06T21:09:07Z", + "status": "Active" } }, { @@ -315,8 +347,10 @@ "fields": { "operation": "4623c545-ef99-464a-bd8b-bb96ffb57e8e", "operator": "ea4314ea-1974-465a-a851-278c8f9c8daa", - "status": "Active", - "start_date": "2024-12-06T21:09:07Z" + "created_by": "00000000-0000-0000-0000-000000000008", + "created_at": "2024-12-06T21:09:07Z", + "start_date": "2024-12-06T21:09:07Z", + "status": "Active" } }, { @@ -324,8 +358,10 @@ "fields": { "operation": "f82c2a59-0f3a-4a89-b7d7-9fcd7a7ecb77", "operator": "04384911-264a-4510-b582-11ee704b8e41", - "status": "Active", - "start_date": "2024-12-06T21:09:07Z" + "created_by": "00000000-0000-0000-0000-000000000006", + "created_at": "2024-12-06T21:09:07Z", + "start_date": "2024-12-06T21:09:07Z", + "status": "Active" } }, { @@ -333,8 +369,10 @@ "fields": { "operation": "3182c8a4-22ff-4ca9-9f91-093c8888fd7c", "operator": "f209ef09-dfe6-42a1-ac4c-7689897f1b51", - "status": "Active", - "start_date": "2024-12-06T21:09:07Z" + "created_by": "00000000-0000-0000-0000-000000000011", + "created_at": "2024-12-06T21:09:07Z", + "start_date": "2024-12-06T21:09:07Z", + "status": "Active" } }, { @@ -342,8 +380,10 @@ "fields": { "operation": "68f0b68a-c6b5-4c4e-82a6-d7fbd690f55e", "operator": "bb979661-0782-49b2-9c64-acd8424b692b", - "status": "Active", - "start_date": "2024-12-06T21:09:07Z" + "created_by": "00000000-0000-0000-0000-000000000012", + "created_at": "2024-12-06T21:09:07Z", + "start_date": "2024-12-06T21:09:07Z", + "status": "Active" } }, { @@ -351,8 +391,10 @@ "fields": { "operation": "a5f7f5b3-fb56-4377-ae6c-b11c8b6d0041", "operator": "bb702949-e303-4788-9ba9-806232a5f711", - "status": "Active", - "start_date": "2024-12-06T21:09:07Z" + "created_by": "00000000-0000-0000-0000-000000000013", + "created_at": "2024-12-06T21:09:07Z", + "start_date": "2024-12-06T21:09:07Z", + "status": "Active" } }, { @@ -360,8 +402,10 @@ "fields": { "operation": "8494e89c-489b-441b-a05d-e935b1d82487", "operator": "a35fb5ad-edd9-4465-982e-81b824644d07", - "status": "Active", - "start_date": "2024-12-06T21:09:07Z" + "created_by": "00000000-0000-0000-0000-000000000018", + "created_at": "2024-12-06T21:09:07Z", + "start_date": "2024-12-06T21:09:07Z", + "status": "Active" } }, { @@ -378,8 +422,10 @@ "fields": { "operation": "62d5d8ea-b163-4a83-95a4-bfadbb6b21f7", "operator": "4a792f0f-cf9d-48c8-9a95-f504c5f84b12", - "status": "Active", - "start_date": "2024-12-06T21:09:07Z" + "created_by": "00000000-0000-0000-0000-000000000026", + "created_at": "2024-12-06T21:09:07Z", + "start_date": "2024-12-06T21:09:07Z", + "status": "Active" } } ] diff --git a/bc_obps/registration/fixtures/mock/user.json b/bc_obps/registration/fixtures/mock/user.json index 1381433eb4..dd32437529 100644 --- a/bc_obps/registration/fixtures/mock/user.json +++ b/bc_obps/registration/fixtures/mock/user.json @@ -4,7 +4,7 @@ "fields": { "user_guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "New Operator 3 Legal Name", + "bceid_business_name": "Charlie Solutions", "first_name": "Michael", "last_name": "Johnson", "position_title": "Manager", @@ -18,7 +18,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000001", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Existing Operator 2 Legal Name", + "bceid_business_name": "Bravo Technologies - has parTNER operator", "first_name": "Samantha", "last_name": "Garcia", "position_title": "CEO", @@ -46,7 +46,7 @@ "fields": { "user_guid": "ba2ba62a121842e0942aab9e92ce8822", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Existing Operator 2 Legal Name", + "bceid_business_name": "Bravo Technologies - has parTNER operator", "first_name": "bc-cas-dev", "last_name": "Industry User", "position_title": "Code Monkey", @@ -60,7 +60,7 @@ "fields": { "user_guid": "279c80cf57814c28872740a133d17c0d", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Bravo Technologies - has parTNER operator", "first_name": "bc-cas-dev-secondary", "last_name": "Industry User", "position_title": "Code Monkey", @@ -74,7 +74,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000002", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "New Operator 5 Legal Name", + "bceid_business_name": "Echo Systems", "first_name": "Jack", "last_name": "Sparrow", "position_title": "Captain", @@ -88,7 +88,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000003", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Golf Solutions", "first_name": "User", "last_name": "3", "position_title": "Code Monkey", @@ -102,7 +102,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000004", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Alpha Enterprises", "first_name": "User", "last_name": "4", "position_title": "Code Monkey", @@ -116,7 +116,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000005", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Bravo Technologies - has parTNER operator", "first_name": "User", "last_name": "5", "position_title": "Code Monkey", @@ -130,7 +130,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000006", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "India Innovations", "first_name": "User", "last_name": "6", "position_title": "Code Monkey", @@ -144,7 +144,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000007", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Foxtrot Enterprises - has parENT operator", "first_name": "User", "last_name": "7", "position_title": "Code Monkey", @@ -158,7 +158,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000008", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Hotel Ventures", "first_name": "User", "last_name": "8", "position_title": "Code Monkey", @@ -172,7 +172,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000009", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Alpha Enterprises", "first_name": "User", "last_name": "9", "position_title": "Code Monkey", @@ -186,7 +186,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000010", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Bravo Technologies - has parTNER operator", "first_name": "User", "last_name": "10", "position_title": "Code Monkey", @@ -200,7 +200,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000011", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Juliet Enterprises", "first_name": "User", "last_name": "11", "position_title": "Code Monkey", @@ -214,7 +214,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000012", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Kilo Logistics", "first_name": "User", "last_name": "12", "position_title": "Code Monkey", @@ -228,7 +228,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000013", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Lima Enterprises", "first_name": "User", "last_name": "10", "position_title": "Code Monkey", @@ -242,7 +242,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000014", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Foxtrot Enterprises - has parENT operator", "first_name": "User", "last_name": "14", "position_title": "Code Monkey", @@ -256,7 +256,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000015", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Foxtrot Enterprises - has parENT operator", "first_name": "User", "last_name": "15", "position_title": "Code Monkey", @@ -270,7 +270,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000016", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Alpha Enterprises", "first_name": "User", "last_name": "16", "position_title": "Code Monkey", @@ -284,7 +284,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000017", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Bravo Technologies - has parTNER operator", "first_name": "User", "last_name": "17", "position_title": "Code Monkey", @@ -298,7 +298,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000018", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Mike Ventures", "first_name": "User", "last_name": "18", "position_title": "Code Monkey", @@ -312,7 +312,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000019", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Bravo Technologies - has parTNER operator", "first_name": "User", "last_name": "19", "position_title": "Code Monkey", @@ -326,7 +326,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000020", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Hotel Ventures", "first_name": "User", "last_name": "20", "position_title": "Code Monkey", @@ -340,7 +340,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000021", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Foxtrot Enterprises - has parENT operator", "first_name": "User", "last_name": "21", "position_title": "Code Monkey", @@ -354,7 +354,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000022", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Alpha Enterprises", "first_name": "User", "last_name": "22", "position_title": "Code Monkey", @@ -368,7 +368,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000023", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Bravo Technologies - has parTNER operator", "first_name": "User", "last_name": "23", "position_title": "Code Monkey", @@ -382,7 +382,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000024", "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Foxtrot Enterprises - has parENT operator", "first_name": "User", "last_name": "24", "position_title": "Code Monkey", @@ -396,7 +396,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000025", "business_guid": "b3e3e3e3-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Golf Solutions", "first_name": "User 25", "last_name": "25", "position_title": "Code Monkey", @@ -410,7 +410,7 @@ "fields": { "user_guid": "00000000-0000-0000-0000-000000000026", "business_guid": "b6e6e6e6-88b7-4eb6-9f26-ec12b49c14c1", - "bceid_business_name": "Example Business", + "bceid_business_name": "Oscar Enterprises", "first_name": "User 26", "last_name": "26", "position_title": "Code Monkey", @@ -460,5 +460,33 @@ "phone_number": "+16044015432", "app_role": "cas_analyst" } + }, + { + "model": "registration.user", + "fields": { + "user_guid": "00000000-0000-0000-0000-000000000029", + "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", + "bceid_business_name": "Dog SFO - Draft", + "first_name": "User 29", + "last_name": "Industry User", + "position_title": "Code Monkey", + "email": "email@email.com", + "phone_number": "+16044015432", + "app_role": "industry_user" + } + }, + { + "model": "registration.user", + "fields": { + "user_guid": "00000000-0000-0000-0000-000000000030", + "business_guid": "efb76d57-88b7-4eb6-9f26-ec12b49c14c1", + "bceid_business_name": "Narwhal SFO - Draft", + "first_name": "User 30", + "last_name": "Industry User", + "position_title": "Code Monkey", + "email": "email@email.com", + "phone_number": "+16044015432", + "app_role": "industry_user" + } } ] diff --git a/bc_obps/registration/fixtures/mock/user_operator.json b/bc_obps/registration/fixtures/mock/user_operator.json index 6ddf11a83e..081906d99e 100644 --- a/bc_obps/registration/fixtures/mock/user_operator.json +++ b/bc_obps/registration/fixtures/mock/user_operator.json @@ -40,8 +40,8 @@ "fields": { "user": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "operator": "438eff6c-d2e7-40ab-8220-29d3a86ef314", - "role": "pending", - "status": "Pending", + "role": "admin", + "status": "Approved", "verified_at": null, "verified_by": null, "user_friendly_id": 4 @@ -346,5 +346,29 @@ "verified_by": null, "user_friendly_id": 29 } + }, + { + "model": "registration.useroperator", + "fields": { + "user": "00000000-0000-0000-0000-000000000029", + "operator": "7e8b72dc-4196-427f-a553-7879748139e1", + "role": "admin", + "status": "Approved", + "verified_at": "2024-02-26 06:24:57.293242-08", + "verified_by": "58f255ed-8d46-44ee-b2fe-9f8d3d92c684", + "user_friendly_id": 30 + } + }, + { + "model": "registration.useroperator", + "fields": { + "user": "00000000-0000-0000-0000-000000000030", + "operator": "5c847c75-3b17-414c-97f8-88ba81cb3821", + "role": "admin", + "status": "Approved", + "verified_at": "2024-02-26 06:24:57.293242-08", + "verified_by": "58f255ed-8d46-44ee-b2fe-9f8d3d92c684", + "user_friendly_id": 31 + } } ]