anchor.diff:  done
   
   
  -## Access database as a different user.
  +## Access database 'test_db' as 'user2'.
   ## Should raise an error.
   RESPONSE=`curl $APP_URL/select-ok/on/$DATABASE_NAME/as/$USER2`
   if [ "$RESPONSE" == "0" ]
  
positive.code:   fi
  }
  
  tests[0]="$APP_URL"
  tests[1]="$APP_URL/create-database/$DATABASE_NAME -X PUT -d ''"
  tests[2]="$APP_URL/create-database/$DATABASE_NAME_2 -X PUT -d ''"
  tests[3]="$APP_URL/create-user/$USER1/for/$DATABASE_NAME -X PUT -d ''"
  tests[4]="$APP_URL/create-user/$USER2/for/$DATABASE_NAME_2 -X PUT -d ''"
  tests[5]="$APP_URL/select-ok/on/$DATABASE_NAME/as/$USER1"
  
  for i in "${tests[@]}"
  do
  
negative.code: cf create-service postgresql-db development postgresql-smoketest-service
  cf bind-service $APP_NAME postgresql-smoketest-service
  cf restage $APP_NAME
  
  ##
  ## App is running in CF with a PostgreSQL service instance bound to it.
  
  APP_URL="http://$APP_NAME.$CF_APP_DOMAIN"
  DATABASE_NAME='test_db'
  