Skip to content

Commit 37ed312

Browse files
Add note of purpose of OrderByClauseTest
1 parent c8e9a40 commit 37ed312

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/java/org/javawebstack/orm/test/querybuilding/OrderByClauseTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import static org.javawebstack.orm.test.shared.setup.ModelSetup.setUpModel;
1616
import static org.junit.jupiter.api.Assertions.*;
1717

18+
// This class tests the query generation for order by statements an MySQL
1819
public class OrderByClauseTest {
1920

2021
@Test
@@ -143,6 +144,8 @@ void testMultipleOrderByClausesOfRandomOrderForCorrectOrder() throws SectionInde
143144
/*
144145
* Error Cases
145146
*/
147+
148+
// This test might not be correct here as it does not purely look at the query
146149
@Test
147150
void testCannotCallOrderOnSameColumnTwice() {
148151
Query<Datatype> query = setUpModel(Datatype.class).query()

0 commit comments

Comments
 (0)