-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Hey Guys,
I found a little bug concerning the unit test in the Admin-Chapter.
storeBook()
in the book_data
-Service also needs to store a deep copy of the book-object.
Otherwise the should properly update the book object-scenario will pass, even if the API returns an empty updateBook
-function.
In the current state the line book.abstract = 'TEST';
in the unit test references the object in srv._books
.
This might be a little confusing.
Thanks for your help.
All the best
Schwaddi
Metadata
Metadata
Assignees
Labels
No labels