Skip to content

Commit

Permalink
test: fix Failing test createTableWithExplicitForeignKeyName4
Browse files Browse the repository at this point in the history
The test failed because fallbackSeqName = null_id_seq. The reason tableName was null is that its declaration in the test was missing get().
  • Loading branch information
joc-a committed Sep 29, 2023
1 parent 587510a commit c955b7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ class CreateTableTests : DatabaseTestsBase() {
fun createTableWithExplicitForeignKeyName4() {
val fkName = "MyForeignKey4"
val parent = object : LongIdTable() {
override val tableName = "parent4"
override val tableName get() = "parent4"
val uniqueId = uuid("uniqueId").clientDefault { UUID.randomUUID() }.uniqueIndex()
}
val child = object : LongIdTable("child4") {
Expand Down

0 comments on commit c955b7c

Please sign in to comment.