-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from gianiaz/root-node-fix
Root node fix
- Loading branch information
Showing
4 changed files
with
60 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
language: php | ||
php: | ||
- 7.1 | ||
- 7.2 | ||
- 7.3 | ||
- 7.4snapshot | ||
cache: | ||
directories: | ||
- $HOME/.composer/cache/files | ||
|
||
before_install: | ||
- composer self-update | ||
|
||
install: | ||
- composer update --no-interaction --prefer-dist --prefer-stable | ||
|
||
script: | ||
- ./vendor/bin/phpunit tests/* | ||
|
||
jobs: | ||
include: | ||
- stage: Test | ||
php: 7.1 | ||
name: prefer-lowest | ||
install: | ||
- composer update --no-interaction --prefer-dist --prefer-stable --prefer-lowest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace AutoMapperPlus\AutoMapperPlusBundle\test; | ||
|
||
|
||
use AutoMapperPlus\AutoMapperPlusBundle\DependencyInjection\Configuration; | ||
use Symfony\Bundle\FrameworkBundle\Tests\TestCase; | ||
use Symfony\Component\Config\Definition\Builder\TreeBuilder; | ||
|
||
class TestConfiguration extends TestCase | ||
{ | ||
|
||
public function testGetConfiguration() { | ||
|
||
$configuration = new Configuration(); | ||
|
||
$this->assertInstanceOf(TreeBuilder::class, $configuration->getConfigTreeBuilder()); | ||
|
||
} | ||
|
||
} |