Skip to content

Commit

Permalink
test(datamapper): fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorgamer58 committed Aug 20, 2023
1 parent 09a3740 commit 3896da7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/dataMapper.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -165,7 +165,7 @@ describe('Data Mapper', () => {
simple_number: 1,
great_great_grand_child: [
{
simple_string: 'String'
simple_string: 'greatGreatGrandChildEntity'
}
],
cousin: null
Expand All @@ -184,7 +184,7 @@ describe('Data Mapper', () => {
simple_number: 1,
great_great_grand_child: [
{
simple_string: 'String'
simple_string: 'greatGreatGrandChildEntity'
}
]
}
Expand Down

0 comments on commit 3896da7

Please sign in to comment.