This repository has been archived by the owner on May 30, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Missing test files after refactoring folder structure
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 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,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); | ||
} | ||
} |