From 45873fc187b75249c9f591fb125ab6f81f67d849 Mon Sep 17 00:00:00 2001 From: mohamedsalem401 Date: Mon, 23 Dec 2024 05:04:08 +0200 Subject: [PATCH] Update dynamic attributes tests --- .../test/specs/data_sources/dynamic_values/attributes.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/core/test/specs/data_sources/dynamic_values/attributes.ts b/packages/core/test/specs/data_sources/dynamic_values/attributes.ts index 94bfadd57..bd36359b1 100644 --- a/packages/core/test/specs/data_sources/dynamic_values/attributes.ts +++ b/packages/core/test/specs/data_sources/dynamic_values/attributes.ts @@ -79,7 +79,7 @@ describe('TraitDataVariable', () => { id: 'ds_id', records: [ { id: 'id1', value: 'test-value' }, - { id: 'id2', value: 'test-value' }, + { id: 'id2', value: 'test-value2' }, ], }; dsm.add(dataSource); @@ -105,7 +105,7 @@ describe('TraitDataVariable', () => { }, }); changeDataSourceValue(dsm); - testAttribute(cmp, 'dynamicAttribute', 'test-value'); + testAttribute(cmp, 'dynamicAttribute', 'test-value2'); }); test('(Component.addAttributes) dynamic attributes should listen to the latest dynamic value', () => { @@ -113,7 +113,7 @@ describe('TraitDataVariable', () => { id: 'ds_id', records: [ { id: 'id1', value: 'test-value' }, - { id: 'id2', value: 'test-value' }, + { id: 'id2', value: 'test-value2' }, ], }; dsm.add(dataSource); @@ -139,7 +139,7 @@ describe('TraitDataVariable', () => { }, }); changeDataSourceValue(dsm); - testAttribute(cmp, 'dynamicAttribute', 'test-value'); + testAttribute(cmp, 'dynamicAttribute', 'test-value2'); }); test('dynamic attributes should stop listening to change if the value changed to static', () => {