mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
Fix test; add comment
This commit is contained in:
@ -59,7 +59,9 @@ import com.kingsrook.qqq.backend.core.utils.ValueUtils;
|
|||||||
|
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
**
|
** This is a single-step process used to provide Column Statistics. These include
|
||||||
|
** counts per-value for a field, plus things like total count, min, max, avg, based
|
||||||
|
** on the field type.
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
public class ColumnStatsStep implements BackendStep
|
public class ColumnStatsStep implements BackendStep
|
||||||
{
|
{
|
||||||
|
@ -347,11 +347,11 @@ class QInstanceValidatorTest extends BaseTest
|
|||||||
@Test
|
@Test
|
||||||
public void test_validateProcessStepWithEmptyName()
|
public void test_validateProcessStepWithEmptyName()
|
||||||
{
|
{
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
assertValidationFailureReasons((qInstance) -> qInstance.getProcess(TestUtils.PROCESS_NAME_GREET_PEOPLE).getStepList().get(0).setName(""),
|
||||||
// these used to be an assertion failure - but enricher now sets a default name for backend steps w/ a code name //
|
"Missing name for a step");
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
assertValidationSuccess((qInstance) -> qInstance.getProcess(TestUtils.PROCESS_NAME_GREET_PEOPLE).getStepList().get(0).setName(""));
|
assertValidationFailureReasons((qInstance) -> qInstance.getProcess(TestUtils.PROCESS_NAME_GREET_PEOPLE_INTERACTIVE).getStepList().get(1).setName(null),
|
||||||
assertValidationSuccess((qInstance) -> qInstance.getProcess(TestUtils.PROCESS_NAME_GREET_PEOPLE_INTERACTIVE).getStepList().get(1).setName(null));
|
"Missing name for a step");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user