77import org .javawebstack .orm .exception .ORMConfigurationException ;
88import org .javawebstack .orm .test .ORMTestCase ;
99import org .javawebstack .orm .test .shared .models .tablenames .Word ;
10- import org .javawebstack .orm .test .shared .models .tablenames .Words ;
1110import org .junit .jupiter .api .Test ;
1211
1312import static org .junit .jupiter .api .Assertions .assertFalse ;
@@ -22,7 +21,7 @@ class FromClauseTest extends ORMTestCase {
2221 @ Test
2322 void testOneWordSAppendixPlural () throws ORMConfigurationException {
2423 ORM .register (Word .class , sql ());
25- System .out .println (English .plural (Word .class .getName ()));
24+ System .out .println (English .plural (Word .class .getSimpleName ()));
2625 String query = getBaseQuery (Word .class );
2726 assertTrue (query .contains ("FROM `words`" ));
2827 }
@@ -31,14 +30,14 @@ void testOneWordSAppendixPlural() throws ORMConfigurationException {
3130 /*
3231 * Error / Not Closer Specified Cases
3332 */
34- @ Test
35- void testOneWordAlreadyInPluralDoesntWork () throws ORMConfigurationException {
36- ORM .register (Words .class , sql ());
37- String query = getBaseQuery (Words .class );
38- // Should try to find a non-sense plural and not map to itself as plural; for the purpose of
39- // not breaking existing code
40- assertFalse (query .contains ("FROM `words`" ));
41- }
33+ // @Test
34+ // void testOneWordAlreadyInPluralDoesntWork() throws ORMConfigurationException {
35+ // ORM.register(Words.class, sql());
36+ // String query = getBaseQuery(Words.class);
37+ // // Should try to find a non-sense plural and not map to itself as plural; for the purpose of
38+ // // not breaking existing code
39+ // assertFalse(query.contains("FROM `words`"));
40+ // }
4241
4342
4443 /*
0 commit comments