-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BIA-1316] Missing tests scenarios where COALESCE function is used. (#…
…233) * Missing tests for SchoolDim. * Missing tests for SectionDim 3.1, 3.2, 3.3. Postgres failing for DS 3.3. * Missing tests for SectionDim 3.3 Postgres fixed. * Missing tests for SectionDim 2.0. Adds data. * Since FeederSchoolId is a not null value, that COALESCE on FeederSchoolDim is not necessary. * Since StaffEducationOrganizationAssignmentAssociation.EducationOrganizationId is a not null value, 2 COALESCE calls on rls_UserAuthorization are not necessary.
- Loading branch information
1 parent
d060f9b
commit 45ac263
Showing
24 changed files
with
501 additions
and
382 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...MiddleTier.Tests/TestCases/SchoolDim/When_EdOrgLocal.LocalEducationAgencyKey_is_null.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"DBMS": "Any", | ||
"ControlDataInsertion": "", | ||
"DropControlData": "", | ||
"Query": "select LocalEducationAgencyKey from analytics.SchoolDim where SchoolKey = '867530010'", | ||
"Result": [ | ||
{ | ||
"LocalEducationAgencyKey": "" | ||
} | ||
] | ||
} |
11 changes: 11 additions & 0 deletions
11
....Tests/TestCases/SchoolDim/When_EdOrgServiceCenter.EducationServiceCenterKey_is_null.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"DBMS": "Any", | ||
"ControlDataInsertion": "", | ||
"DropControlData": "", | ||
"Query": "select EducationServiceCenterKey from analytics.SchoolDim where SchoolKey = '867530010'", | ||
"Result": [ | ||
{ | ||
"EducationServiceCenterKey": "" | ||
} | ||
] | ||
} |
11 changes: 11 additions & 0 deletions
11
...MiddleTier.Tests/TestCases/SchoolDim/When_EdOrgState.StateEducationAgencyKey_is_null.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"DBMS": "Any", | ||
"ControlDataInsertion": "", | ||
"DropControlData": "", | ||
"Query": "select StateEducationAgencyKey from analytics.SchoolDim where SchoolKey = '867530010'", | ||
"Result": [ | ||
{ | ||
"StateEducationAgencyKey": "" | ||
} | ||
] | ||
} |
Oops, something went wrong.