Commit 34306f7f authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Expect the get-last-text, find-next-text-no and find-previous-text-no

requests to fail when the user isn't logged in.
parent 1cc0b16a
......@@ -243,20 +243,20 @@ send "1069 57 5 2\n"
simple_expect "%1069 6 0" "set-user-area"
# 58:get-last-text
send "1070 58 0 0 12 1 0 90 0 0 0\n"
simple_expect "=1070 0" "get-last-text"
simple_expect "%1070 6 0" "get-last-text"
# 59:create-anonymous-text-old
send "1071 59 [holl "anon-txt"] 1 { 0 2 }\n"
simple_expect "%1071 6 0" "create-anonymous-text-old"
# 60:find-next-text-no
send "1072 60 0\n"
simple_expect "%1072 14 0" "find-next-text-no"
simple_expect "%1072 6 0" "find-next-text-no"
send "1073 60 1\n"
simple_expect "%1073 14 1" "find-next-text-no"
simple_expect "%1073 6 0" "find-next-text-no"
send "1074 60 3\n"
simple_expect "%1074 14 3" "find-next-text-no"
simple_expect "%1074 6 0" "find-next-text-no"
# 61:find-previous-text-no
send "1075 61 18\n"
simple_expect "%1075 14 18" "find-previous-text-no"
simple_expect "%1075 6 0" "find-previous-text-no"
# 62:login
send "1076 62 0 [holl "broken"] 1\n"
simple_expect "%1076 8 0" "login"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment