user name+id now added to params and channels table now accepts channel_name
This commit is contained in:
@@ -24,6 +24,14 @@ delete_channel() {
|
||||
log_result good_delete_channel 200 $code "$result"
|
||||
}
|
||||
|
||||
send_message() {
|
||||
kv='{"secret":"secret", "content":"message sample", "channel":123}'
|
||||
result=$($crl $POST $url/message/send -d "$kv")
|
||||
code=$(echo "$result" | grep HTTP\/1.1 | awk '{print $2}')
|
||||
# non-existant channel for now but whatever ignore for now
|
||||
log_result good_send_message 200 $code "$result"
|
||||
}
|
||||
|
||||
# Dispatcher to run our tests
|
||||
if [ -z $1 ];then
|
||||
for cmd in $active_tests;do
|
||||
|
||||
Reference in New Issue
Block a user