Acceptance tests translations

From Alistair Mann / csi18n
Jump to: navigation, search

Translate newmark X into language Y

This is the most common call I'm expecting to be made.

#!/bin/bash
source acceptance_tests/predefined_codes.sh
#
USER=1
NEWMARK='Hello,-World'
LANG='en-CA'
LOC=$SH_SERVER'/newmarks/'$USER'/'$NEWMARK'/'$LANG; 
echo "GETTING"
curl -i -X GET -H 'Accept: application/json' -H 'Connection: close' -H 'X-APIKey: '$SH_APIKEY_MPSVR_GUI -u 'test05:test' $LOC