Skip to content

Commit

Permalink
test: change timestamps in migration test
Browse files Browse the repository at this point in the history
  • Loading branch information
BCerki committed Jul 4, 2023
1 parent 98385e5 commit 93018d1
Showing 1 changed file with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ values
'project_id',2,
'reportType','TEIMP',
'reportingRequirementIndex', 1,
'reportDueDate', '2023-06-15T23:59:59.999-07:00',
'submittedDate', '2023-06-30T23:59:59.999-07:00',
'reportDueDate', '2023-06-15T00:00:00+00:00',
'submittedDate', '2023-06-30T00:00:00+00:00',
'comments', 'comments'
)::jsonb,
'create',
Expand All @@ -90,10 +90,10 @@ values
'reportingRequirementId', 2,
'adjustedEmissionsIntensityPerformance', 98,
'baselineEmissionIntensity', 324.25364,
'dateSentToCsnr', '2023-07-01T23:59:59.999-07:00',
'dateSentToCsnr', '2023-07-01T00:00:00+00:00',
'emissionFunctionalUnit','tCO2e',
'measurementPeriodEndDate','2023-07-01T23:59:59.999-07:00',
'measurementPeriodStartDate', '2023-06-01T23:59:59.999-07:00',
'measurementPeriodEndDate','2023-07-01T00:00:00+00:00',
'measurementPeriodStartDate', '2023-06-01T00:00:00+00:00',
'postProjectEmissionIntensity', 124.35,
'productionFunctionalUnit', 'unit',
'targetEmissionIntensity', 23.2357,
Expand All @@ -112,8 +112,8 @@ values
"comments": "comments",
"project_id": 3,
"reportType": "TEIMP",
"reportDueDate": "2023-06-01T23:59:59.999-07:00",
"submittedDate": "2023-06-15T23:59:59.999-07:00",
"reportDueDate": "2023-06-01T00:00:00+00:00",
"submittedDate": "2023-06-15T00:00:00+00:00",
"reportingRequirementIndex": 1
}'::jsonb,
'create',
Expand All @@ -128,7 +128,7 @@ values
"teimpReporting": {
"emissionFunctionalUnit": "tCO2e",
"targetEmissionIntensity": 466.555588,
"measurementPeriodEndDate": "2023-06-15T23:59:59.999-07:00",
"measurementPeriodEndDate": "2023-06-15T00:00:00+00:00",
"productionFunctionalUnit": "unit",
"baselineEmissionIntensity": 2569.555,
"measurementPeriodStartDate": "2023-06-01T23: 59: 59.999-07:00",
Expand All @@ -141,13 +141,13 @@ values
},
"emissionFunctionalUnit": "tCO2e",
"targetEmissionIntensity": 466.555588,
"measurementPeriodEndDate": "2023-06-15T23:59:59.999-07:00",
"measurementPeriodEndDate": "2023-06-15T00:00:00+00:00",
"productionFunctionalUnit": "unit",
"baselineEmissionIntensity": 2569.555,
"measurementPeriodStartDate": "2021-06-15T23:59:59.999-07:00",
"measurementPeriodStartDate": "2021-06-15T00:00:00+00:00",
"postProjectEmissionIntensity": 654.12345678,
"adjustedEmissionsIntensityPerformance": 95.86,
"dateSentToCsnr": "2023-06-22T23:59:59.999-07:00",
"dateSentToCsnr": "2023-06-22T00:00:00+00:00",
"totalLifetimeEmissionReduction": 66,
"reportingRequirementId": 3
}'::jsonb,
Expand Down Expand Up @@ -245,16 +245,16 @@ select results_eq(
"adjustedEmissionsIntensityPerformance": 98,
"baselineEmissionIntensity": 324.25364,
"comments": "comments",
"dateSentToCsnr": "2023-07-01T23:59:59.999-07:00",
"dateSentToCsnr": "2023-07-01T00:00:00+00:00",
"emissionFunctionalUnit":"tCO2e",
"measurementPeriodEndDate":"2023-07-01T23:59:59.999-07:00",
"measurementPeriodStartDate": "2023-06-01T23:59:59.999-07:00",
"measurementPeriodEndDate":"2023-07-01T00:00:00+00:00",
"measurementPeriodStartDate": "2023-06-01T00:00:00+00:00",
"postProjectEmissionIntensity": 124.35,
"productionFunctionalUnit": "unit",
"reportDueDate": "2023-06-15T23:59:59.999-07:00",
"reportDueDate": "2023-06-15T00:00:00+00:00",
"reportType": "TEIMP",
"reportingRequirementIndex": 1,
"submittedDate": "2023-06-30T23:59:59.999-07:00",
"submittedDate": "2023-06-30T00:00:00+00:00",
"targetEmissionIntensity": 23.2357,
"totalLifetimeEmissionReduction": 44.4224,
"projectId": 2
Expand All @@ -263,18 +263,18 @@ select results_eq(
"comments": "comments",
"projectId": 3,
"reportType": "TEIMP",
"reportDueDate": "2023-06-01T23:59:59.999-07:00",
"submittedDate": "2023-06-15T23:59:59.999-07:00",
"reportDueDate": "2023-06-01T00:00:00+00:00",
"submittedDate": "2023-06-15T00:00:00+00:00",
"reportingRequirementIndex": 1,
"emissionFunctionalUnit": "tCO2e",
"targetEmissionIntensity": 466.555588,
"measurementPeriodEndDate": "2023-06-15T23:59:59.999-07:00",
"measurementPeriodEndDate": "2023-06-15T00:00:00+00:00",
"productionFunctionalUnit": "unit",
"baselineEmissionIntensity": 2569.555,
"measurementPeriodStartDate": "2021-06-15T23:59:59.999-07:00",
"measurementPeriodStartDate": "2021-06-15T00:00:00+00:00",
"postProjectEmissionIntensity": 654.12345678,
"totalLifetimeEmissionReduction": 66,
"dateSentToCsnr": "2023-06-22T23:59:59.999-07:00",
"dateSentToCsnr": "2023-06-22T00:00:00+00:00",
"adjustedEmissionsIntensityPerformance": 95.86,
"totalLifetimeEmissionReduction": 66
}'::jsonb)
Expand Down

0 comments on commit 93018d1

Please sign in to comment.