Skip to content

Commit

Permalink
tests: re-enable functional tests (#575)
Browse files Browse the repository at this point in the history
Only one test, Symfony boot test.
  • Loading branch information
dkarlovi authored Apr 27, 2018
1 parent 5cc4c85 commit a038aa7
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ matrix:
- php: 5.6
env: SYMFONY_VERSION=2.8.*
- php: 5.6
env: SYMFONY_VERSION=3.0.* COVERAGE=true
env: SYMFONY_VERSION=3.4.* COVERAGE=true
# test the latest release (including beta releases)
- php: 7.1
env: SYMFONY_VERSION=2.8.* COVERAGE=true
- php: 7.1
env: SYMFONY_VERSION=3.0.* COVERAGE=true
env: SYMFONY_VERSION=3.4.* COVERAGE=true
- php: 7.2
env: SYMFONY_VERSION=2.8.* COVERAGE=true
- php: 7.2
env: SYMFONY_VERSION=3.0.* COVERAGE=true
env: SYMFONY_VERSION=3.4.* COVERAGE=true
- php: 7.2
env: DEPENDENCIES=beta
allow_failures:
Expand Down
1 change: 1 addition & 0 deletions Tests/Functional/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public function registerBundles()
$bundles = array(
new \Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new \Symfony\Bundle\SecurityBundle\SecurityBundle(),
new \Symfony\Bundle\TwigBundle\TwigBundle(),
new \FOS\OAuthServerBundle\FOSOAuthServerBundle(),

new \FOS\OAuthServerBundle\Tests\Functional\TestBundle\TestBundle(),
Expand Down
2 changes: 0 additions & 2 deletions Tests/Functional/BootTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ class BootTest extends TestCase
*/
public function testBoot($env)
{
$this->markTestIncomplete('Issue with Stopwatch component');

$kernel = $this->createKernel(array('env' => $env));
$kernel->boot();
}
Expand Down
3 changes: 3 additions & 0 deletions Tests/Functional/config/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
framework:
templating:
engines: ["twig"]
form: ~
secret: test
router:
resource: "%kernel.root_dir%/config/routing.yml"
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"symfony/form": "~2.8|~3.0|^4.0",
"symfony/console": "~2.8|~3.0|^4.0",
"symfony/templating": "~2.8|~3.0|^4.0",
"symfony/twig-bundle": "~2.8|~3.0|^4.0",
"willdurand/propel-typehintable-behavior": "^1.0.4",
"propel/propel1": "^1.6.5",
"phing/phing": "~2.4",
Expand Down

0 comments on commit a038aa7

Please sign in to comment.