Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Commit

Permalink
Merge pull request #209 from symfony-cmf/fix_tests
Browse files Browse the repository at this point in the history
fix test setup, added php 5.6 to test matrix
  • Loading branch information
lsmith77 committed Oct 13, 2014
2 parents 55e0ef2 + 9dbf3bd commit a936046
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm

env:
Expand All @@ -12,7 +13,6 @@ env:
matrix:
allow_failures:
- env: SYMFONY_VERSION=dev-master
- php: hhvm
include:
- php: 5.5
env: SYMFONY_VERSION=2.3.*
Expand Down
18 changes: 17 additions & 1 deletion Admin/AbstractMenuNodeAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,24 @@
*/
abstract class AbstractMenuNodeAdmin extends Admin
{
/**
* @var ContentAwareFactory
*/
protected $contentAwareFactory;

/**
* @var string
*/
protected $contentRoot;

/**
* @var string
*/
protected $menuRoot;

/**
* @var string
*/
protected $translationDomain = 'CmfMenuBundle';

protected function configureListFields(ListMapper $listMapper)
Expand Down Expand Up @@ -83,7 +99,7 @@ protected function configureFormFields(FormMapper $formMapper)
}
}

protected function configureShowField(ShowMapper $showMapper)
protected function configureShowFields(ShowMapper $showMapper)
{
$showMapper
->add('id', 'text')
Expand Down
1 change: 1 addition & 0 deletions Tests/Resources/app/config/config.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

$container->setParameter('cmf_testing.bundle_fqn', 'Symfony\Cmf\Bundle\MenuBundle');
$loader->import(CMF_TEST_CONFIG_DIR.'/default.php');
$loader->import(CMF_TEST_CONFIG_DIR.'/phpcr_odm.php');
$loader->import(CMF_TEST_CONFIG_DIR.'/sonata_admin.php');
Expand Down

0 comments on commit a936046

Please sign in to comment.