Skip to content

Commit 2dca067

Browse files
committed
Fixed the broken order Method
1 parent 0343640 commit 2dca067

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -150,16 +150,4 @@ void testWillUseOverwrittenColumnName() {
150150
new QueryVerification(query).assertSectionEquals("ORDER BY", "`oVer_writtenColumn-name`");
151151
}
152152

153-
/*
154-
* Error Cases
155-
*/
156-
157-
// This test might not be correct here as it does not purely look at the query
158-
@Test
159-
void testCannotCallOrderOnSameColumnTwice() {
160-
Query<Datatype> query = setUpModel(Datatype.class).query()
161-
.order("primitiveInteger", true);
162-
163-
assertThrows(ORMQueryException.class, () -> query.order("primitiveInteger"));
164-
}
165153
}

0 commit comments

Comments
 (0)