nebraska: behaviour-based "noupdate" unit test

Instead of testing the internal implementation of how Nebraska handles
update requests when the is no update available, we test the behaviour:
- create an update request of a valid app that does not have an update
- ensure that the response contains <updatecheck status="noupdate"/>

Also use GIVEN/WHEN/THEN format to document the test.


Change-Id: I63274254cab866e38b5dfb5e7b805aba3be6aa73
Tested-by: Nicolas Norvez <>
Commit-Ready: Nicolas Norvez <>
Legacy-Commit-Queue: Commit Bot <>
Reviewed-by: Jae Hoon Kim <>
Reviewed-by: Xiaochu Liu <>
Reviewed-by: Amin Hassani <>
1 file changed