Reverse history order

This commit is contained in:
2023-05-23 17:20:28 +09:00
parent d4f8afd61b
commit 155e6f49af
2 changed files with 11 additions and 11 deletions
+8 -8
View File
@@ -102,7 +102,7 @@ Get the history of a single song
Output
&{song2}= POST
... /song
... {"name": "Mama mia", "difficulties": {}, "midiPath": "/musics/Beethoven-125-4.midi", "musicXmlPath": "/musics/Beethoven-125-4.mxl"}
... {"name": "Mama mia2", "difficulties": {}, "midiPath": "/musics/Beethoven-125-42.midi", "musicXmlPath": "/musics/Beethoven-125-24.mxl"}
Output
${userID}= RegisterLogin wowuser
@@ -126,13 +126,13 @@ Get the history of a single song
Output
Integer response status 200
Array response body history
Integer $history[0].userID ${userID}
Integer $history[0].songID ${song.body.id}
Integer $history[0].score 65
Integer $history[1].userID ${userID}
Integer $history[1].songID ${song.body.id}
Integer $history[1].score 55
Integer $best 65
Integer $.history[0].userID ${userID}
Integer $.history[0].songID ${song.body.id}
Integer $.history[0].score 65
Integer $.history[1].userID ${userID}
Integer $.history[1].songID ${song.body.id}
Integer $.history[1].score 55
Integer $.best 65
[Teardown] Run Keywords DELETE /users/${userID}
... AND DELETE /song/${song.body.id}