Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ services: postgresql

before_install:
- psql -c 'CREATE DATABASE pomm_test' -U postgres -h 127.0.0.1 postgres
- psql -c 'CREATE TABLE config (name character varying(25) PRIMARY KEY, value character varying(25))' -U postgres -h 127.0.0.1 pomm_test
- psql -c "INSERT INTO config VALUES ('test', 'value')" -U postgres -h 127.0.0.1 pomm_test
- psql -c 'CREATE TABLE config (name character varying(25) PRIMARY KEY, value character varying(25), global boolean)' -U postgres -h 127.0.0.1 pomm_test
- psql -c "INSERT INTO config VALUES ('test', 'value', true)" -U postgres -h 127.0.0.1 pomm_test
- psql -c 'CREATE DATABASE pomm_test_2' -U postgres -h 127.0.0.1 postgres
- psql -c 'CREATE TABLE config (name character varying(25) PRIMARY KEY, value character varying(25))' -U postgres -h 127.0.0.1 pomm_test_2
- psql -c "INSERT INTO config VALUES ('test', 'value_db2')" -U postgres -h 127.0.0.1 pomm_test_2
- psql -c 'CREATE TABLE config (name character varying(25) PRIMARY KEY, value character varying(25), global boolean)' -U postgres -h 127.0.0.1 pomm_test_2
- psql -c "INSERT INTO config VALUES ('test', 'value_db2', false)" -U postgres -h 127.0.0.1 pomm_test_2

- php -S localhost:8080 -t tests/web &> /dev/null &
- ln -fs parameters.yml.dist tests/app/config/parameters.yml
Expand Down
5 changes: 5 additions & 0 deletions tests/tests/Features/property-info.feature
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ Feature: Entity Param Converter
When I am on "/app_dev.php/property/name"
Then the response status code should be 200
Then I should see "string"

Scenario: property type boolean
When I am on "/app_dev.php/property/global"
Then the response status code should be 200
Then I should see "bool"