Skip to content
This repository has been archived by the owner on May 30, 2018. It is now read-only.

Commit

Permalink
Missing test files after refactoring folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Sep 8, 2017
1 parent 56a2b4f commit 996a04b
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions tests/DependencyInjection/ConfigurationTest.php
@@ -0,0 +1,34 @@
<?php

/*
* (c) Christian Gripp <mail@core23.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Core23\PiwikBundle\Tests\DependencyInjection;

use Core23\PiwikBundle\DependencyInjection\Configuration;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Config\Definition\Processor;

class ConfigurationTest extends TestCase
{
public function testOptions()
{
$processor = new Processor();

$config = $processor->processConfiguration(new Configuration(), array(array(
)));

$expected = array(
'http' => array(
'client' => 'httplug.client.default',
'message_factory' => 'httplug.message_factory.default',
),
);

$this->assertSame($expected, $config);
}
}

0 comments on commit 996a04b

Please sign in to comment.