mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
SPRINT-20: fixed more broken tests due to gettablepath sig change
This commit is contained in:
@ -48,13 +48,13 @@ class QInstanceTest extends BaseTest
|
||||
|
||||
GetInput getInput = new GetInput();
|
||||
|
||||
String tablePath = qInstance.getTablePath(getInput, TestUtils.TABLE_NAME_PERSON);
|
||||
String tablePath = qInstance.getTablePath(TestUtils.TABLE_NAME_PERSON);
|
||||
assertEquals("/peopleApp/person", tablePath);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
// call again (to make sure getting from memoization works - verify w/ breakpoint...) //
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
tablePath = qInstance.getTablePath(getInput, TestUtils.TABLE_NAME_PERSON);
|
||||
tablePath = qInstance.getTablePath(TestUtils.TABLE_NAME_PERSON);
|
||||
assertEquals("/peopleApp/person", tablePath);
|
||||
}
|
||||
|
||||
@ -70,14 +70,14 @@ class QInstanceTest extends BaseTest
|
||||
|
||||
GetInput getInput = new GetInput();
|
||||
|
||||
String tablePath = qInstance.getTablePath(getInput, "notATable");
|
||||
String tablePath = qInstance.getTablePath("notATable");
|
||||
assertNull(tablePath);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
// call again (to make sure getting from memoization works - verify w/ breakpoint...) //
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
tablePath = qInstance.getTablePath(getInput, "notATable");
|
||||
tablePath = qInstance.getTablePath("notATable");
|
||||
assertNull(tablePath);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user