mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
GH Auto: Upstream dependencies ADF:7.0.0-alpha.2-11070706321 JS-API:8.0.0-alpha.2-11070706321 using Tag:7.0.0-alpha.2-11070706321 (#4144)
* [ci:force][auto-commit] Update dependencies ADF:7.0.0-alpha.2-11070706321 JS:8.0.0-alpha.2-11070706321 * fix test --------- Co-authored-by: nikita-web-ua <nikita-web-ua@users.noreply.github.com> Co-authored-by: Mykyta Maliarchuk <mykyta.maliarchuk@hyland.com>
This commit is contained in:
@@ -72,7 +72,7 @@ describe('RuleActionUiComponent', () => {
|
||||
loader = TestbedHarnessEnvironment.loader(fixture);
|
||||
});
|
||||
|
||||
it('should clear empty parameters', async () => {
|
||||
it('should not accept empty parameters', async () => {
|
||||
component.actionDefinitions = actionsTransformedListMock;
|
||||
component.parameterConstraints = dummyConstraints;
|
||||
fixture.detectChanges();
|
||||
@@ -87,7 +87,7 @@ describe('RuleActionUiComponent', () => {
|
||||
setInputValue('');
|
||||
await fixture.whenStable();
|
||||
|
||||
expect(component.parameters).toEqual({ 'mock-action-parameter-boolean': false });
|
||||
expect(component.parameters).toEqual({ 'mock-action-parameter-boolean': false, 'mock-action-parameter-text': 'test' });
|
||||
});
|
||||
|
||||
it('should populate the dropdown selector with the action definitions', async () => {
|
||||
|
Reference in New Issue
Block a user