Skip to content

Commit a038aa7

Browse files
authored
tests: re-enable functional tests (#575)
Only one test, Symfony boot test.
1 parent 5cc4c85 commit a038aa7

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ matrix:
1919
- php: 5.6
2020
env: SYMFONY_VERSION=2.8.*
2121
- php: 5.6
22-
env: SYMFONY_VERSION=3.0.* COVERAGE=true
22+
env: SYMFONY_VERSION=3.4.* COVERAGE=true
2323
# test the latest release (including beta releases)
2424
- php: 7.1
2525
env: SYMFONY_VERSION=2.8.* COVERAGE=true
2626
- php: 7.1
27-
env: SYMFONY_VERSION=3.0.* COVERAGE=true
27+
env: SYMFONY_VERSION=3.4.* COVERAGE=true
2828
- php: 7.2
2929
env: SYMFONY_VERSION=2.8.* COVERAGE=true
3030
- php: 7.2
31-
env: SYMFONY_VERSION=3.0.* COVERAGE=true
31+
env: SYMFONY_VERSION=3.4.* COVERAGE=true
3232
- php: 7.2
3333
env: DEPENDENCIES=beta
3434
allow_failures:

Tests/Functional/AppKernel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public function registerBundles()
2121
$bundles = array(
2222
new \Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
2323
new \Symfony\Bundle\SecurityBundle\SecurityBundle(),
24+
new \Symfony\Bundle\TwigBundle\TwigBundle(),
2425
new \FOS\OAuthServerBundle\FOSOAuthServerBundle(),
2526

2627
new \FOS\OAuthServerBundle\Tests\Functional\TestBundle\TestBundle(),

Tests/Functional/BootTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ class BootTest extends TestCase
1818
*/
1919
public function testBoot($env)
2020
{
21-
$this->markTestIncomplete('Issue with Stopwatch component');
22-
2321
$kernel = $this->createKernel(array('env' => $env));
2422
$kernel->boot();
2523
}

Tests/Functional/config/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
framework:
2+
templating:
3+
engines: ["twig"]
4+
form: ~
25
secret: test
36
router:
47
resource: "%kernel.root_dir%/config/routing.yml"

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"symfony/form": "~2.8|~3.0|^4.0",
3030
"symfony/console": "~2.8|~3.0|^4.0",
3131
"symfony/templating": "~2.8|~3.0|^4.0",
32+
"symfony/twig-bundle": "~2.8|~3.0|^4.0",
3233
"willdurand/propel-typehintable-behavior": "^1.0.4",
3334
"propel/propel1": "^1.6.5",
3435
"phing/phing": "~2.4",

0 commit comments

Comments
 (0)