馃悰 OnUpdateAction is missing the quiddity ID argument
Summary
In scenic, updating the nickname of a quiddity test is failing as the quiddity id is not passed to the addNickname
function upon NicknameAPI.onUpdated
trigger from the NicknameStore
.
Steps to reproduce
Run the unit test for the NicknameStore.test.js
.
What is the current bug behavior?
The test 'should update nicknames when the API triggers an update' will fail with an undefined quiddity ID.
What is the expected correct behavior?
The test should pass and the addNickname
function should be called with the two arguments quiddityId
et nickname
.
What is the frequency of occurrence of this behavior ?
100%
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code, as it's very hard to read otherwise.)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
Additional comments
(Add references to related issues and provide any extra comments.)
/cc @flecavalier