Skip to content

Commit

Permalink
Incorrect inList #1490 / Fix test on SQLServer
Browse files Browse the repository at this point in the history
  • Loading branch information
Tapac committed Apr 16, 2022
1 parent b42cf40 commit 3d550a4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ class SelectTests : DatabaseTestsBase() {
this.board = board1
}

EntityTests.Post.new { }
EntityTests.Post.new {
category = EntityTests.Category.new { title = "Category1" }
}

val result = EntityTests.Posts.select { EntityTests.Posts.board inList listOf(board1.id) }.singleOrNull()?.get(EntityTests.Posts.id)
assertEquals(post1.id, result)
Expand Down

0 comments on commit 3d550a4

Please sign in to comment.