-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testInsert: don't generate default values for columns which appear in…
… a constraint
- Loading branch information
1 parent
342e0f9
commit 025dc8e
Showing
15 changed files
with
333 additions
and
277 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
172 changes: 86 additions & 86 deletions
172
typo-tester-anorm/generated-and-checked-in/adventureworks/testInsert.scala
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -16,9 +16,10 @@ class RecordTest extends AnyFunSuite with TypeCheckedTripleEquals { | |
withConnection { implicit c => | ||
val testInsert = new TestInsert(new Random(0)) | ||
val businessentityRow = testInsert.personBusinessentity() | ||
val personRow = testInsert.personPerson(businessentityRow.businessentityid, FirstName("a"), persontype = "EM") | ||
val personRow = testInsert.personPerson(businessentityRow.businessentityid, persontype = "EM", FirstName("a")) | ||
testInsert.personEmailaddress(personRow.businessentityid, Some("[email protected]")): @nowarn | ||
val employeeRow = testInsert.humanresourcesEmployee(personRow.businessentityid, gender = "M", maritalstatus = "M", hiredate = TypoLocalDate.apply("1997-01-01")) | ||
val employeeRow = | ||
testInsert.humanresourcesEmployee(personRow.businessentityid, gender = "M", maritalstatus = "M", birthdate = TypoLocalDate("1998-01-01"), hiredate = TypoLocalDate("1997-01-01")) | ||
testInsert.salesSalesperson(employeeRow.businessentityid): @nowarn | ||
personRowJoinSqlRepo() foreach println | ||
} | ||
|
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
Oops, something went wrong.