Skip to content

Commit

Permalink
Merge pull request #32 from anorgan/patch-1
Browse files Browse the repository at this point in the history
Add enterprise option to the Fixer provider
  • Loading branch information
florianv authored Oct 24, 2019
2 parents a03eaf0 + d2829fb commit bfa8ef3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public function getConfigTreeBuilder()
->isRequired()
->cannotBeEmpty()
->end()
->booleanNode('enterprise')->defaultFalse()->end()
->end()
->end()
->append($this->createSimpleProviderNode('cryptonator'))
Expand Down
2 changes: 1 addition & 1 deletion Tests/DependencyInjection/FlorianvSwapExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function testProviderPriorities()
// Fixer third
$this->assertEquals($calls[2][0], 'add');
$this->assertEquals($calls[2][1][0], 'fixer');
$this->assertEquals($calls[2][1][1], ['access_key' => 'YOUR_KEY']);
$this->assertEquals($calls[2][1][1], ['access_key' => 'YOUR_KEY', 'enterprise' => false]);
}

public function testCacheMissTtl()
Expand Down

0 comments on commit bfa8ef3

Please sign in to comment.