keboola / php-db-import

MIT License
4 stars 0 forks source link

Test to demonstrate error on using bindings in CREATE TABLE AS SELECT… #9

Closed pivnicek closed 7 years ago

pivnicek commented 8 years ago

To run the test:

docker-compose run  \ 
  -e SNOWFLAKE_PASSWORD=$SNOWFLAKE_PASSWORD \
  -e SNOWFLAKE_DATABASE=$SNOWFLAKE_DATABASE \
  -e SNOWFLAKE_WAREHOUSE=$SNOWFLAKE_WAREHOUSE \
  -e SNOWFLAKE_USER=$SNOWFLAKE_USER \
  -e SNOWFLAKE_HOST=$SNOWFLAKE_HOST \
  tests vendor/bin/phpunit tests/SnowflakeCreateBindingTest.php

The test will pass green, but it shouldn't, the unexpected error message is echoed to stdout.