Skip to content

Commit

Permalink
[SHIBUI-1226]
Browse files Browse the repository at this point in the history
copy fields for test
  • Loading branch information
jj committed Feb 14, 2019
1 parent 9125590 commit 7ef641e
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,12 @@ class JPAEntityDescriptorServiceImplTests extends Specification {
given:
def randomEntityDescriptor = generateRandomEntityDescriptor()
def updatedEntityDescriptor = generateRandomEntityDescriptor()
//TODO: copy values we don't care about asserting (id, entity id, ...)

//copy values we don't care about asserting (id, entity id, ...)
updatedEntityDescriptor.entityID = randomEntityDescriptor.entityID
updatedEntityDescriptor.resourceId = randomEntityDescriptor.resourceId
updatedEntityDescriptor.elementLocalName = randomEntityDescriptor.elementLocalName

def updatedEntityDescriptorRepresentation = service.createRepresentationFromDescriptor(updatedEntityDescriptor)

when:
Expand Down

0 comments on commit 7ef641e

Please sign in to comment.