From 3896da7717663e39d21fb9c3e76668e0304c28ed Mon Sep 17 00:00:00 2001 From: Vitor Araujo Date: Sun, 20 Aug 2023 01:44:27 -0300 Subject: [PATCH] test(datamapper): fix unit test --- test/dataMapper.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/dataMapper.test.js b/test/dataMapper.test.js index 1c01821..8318920 100644 --- a/test/dataMapper.test.js +++ b/test/dataMapper.test.js @@ -148,7 +148,7 @@ describe('Data Mapper', () => { childEntity.grandChild.greatGrandChild.simpleStringArray = ['String'] childEntity.grandChild.greatGrandChild.simpleNumber = 1 const greatGreatGrandChild = new GreatGreatGrandChildEntity() - greatGreatGrandChild.simpleString = 'String' + greatGreatGrandChild.simpleString = 'greatGreatGrandChildEntity' childEntity.grandChild.greatGrandChild.greatGreatGrandChild = [greatGreatGrandChild] //when @@ -165,7 +165,7 @@ describe('Data Mapper', () => { simple_number: 1, great_great_grand_child: [ { - simple_string: 'String' + simple_string: 'greatGreatGrandChildEntity' } ], cousin: null @@ -184,7 +184,7 @@ describe('Data Mapper', () => { simple_number: 1, great_great_grand_child: [ { - simple_string: 'String' + simple_string: 'greatGreatGrandChildEntity' } ] }