mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +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();
|
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);
|
assertEquals("/peopleApp/person", tablePath);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// call again (to make sure getting from memoization works - verify w/ breakpoint...) //
|
// 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);
|
assertEquals("/peopleApp/person", tablePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -70,13 +70,13 @@ class QInstanceTest extends BaseTest
|
|||||||
|
|
||||||
GetInput getInput = new GetInput();
|
GetInput getInput = new GetInput();
|
||||||
|
|
||||||
String tablePath = qInstance.getTablePath(getInput, "notATable");
|
String tablePath = qInstance.getTablePath("notATable");
|
||||||
assertNull(tablePath);
|
assertNull(tablePath);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// call again (to make sure getting from memoization works - verify w/ breakpoint...) //
|
// call again (to make sure getting from memoization works - verify w/ breakpoint...) //
|
||||||
////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////
|
||||||
tablePath = qInstance.getTablePath(getInput, "notATable");
|
tablePath = qInstance.getTablePath("notATable");
|
||||||
assertNull(tablePath);
|
assertNull(tablePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user