Skip to content

Commit

Permalink
Merge 71b60e6 into 4d1c589
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphaël Davaillaud committed Jun 6, 2018
2 parents 4d1c589 + 71b60e6 commit a991690
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
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
Expand Up @@ -7,3 +7,8 @@ Feature: Entity Param Converter
Scenario: property type
When I am on "/app_dev.php/property/name"
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"

0 comments on commit a991690

Please sign in to comment.