@@ -67,7 +67,7 @@ public function testNoProvider()
6767
6868 public function testFixerProvider ()
6969 {
70- $ this ->buildContainer (['fixer ' => null ]);
70+ $ this ->buildContainer (['fixer ' => [ ' access_key ' => ' test ' ] ]);
7171 }
7272
7373 public function testForgeProvider ()
@@ -78,7 +78,7 @@ public function testForgeProvider()
7878 public function testProviderPriorities ()
7979 {
8080 $ this ->buildContainer ([
81- 'fixer ' => null ,
81+ 'fixer ' => [ ' access_key ' => ' YOUR_KEY ' ] ,
8282 'google ' => [
8383 'priority ' => 3 ,
8484 ],
@@ -104,19 +104,19 @@ public function testProviderPriorities()
104104 // Fixer third
105105 $ this ->assertEquals ($ calls [2 ][0 ], 'add ' );
106106 $ this ->assertEquals ($ calls [2 ][1 ][0 ], 'fixer ' );
107- $ this ->assertEquals ($ calls [2 ][1 ][1 ], []);
107+ $ this ->assertEquals ($ calls [2 ][1 ][1 ], [' access_key ' => ' YOUR_KEY ' ]);
108108 }
109109
110110 public function testCacheMissTtl ()
111111 {
112112 $ this ->expectException (InvalidConfigurationException::class);
113113
114- $ this ->buildContainer (['fixer ' => null ], ['ttl ' => null ]);
114+ $ this ->buildContainer (['fixer ' => [ ' access_key ' => ' YOUR_KEY ' ] ], ['ttl ' => null ]);
115115 }
116116
117117 public function testArrayCache ()
118118 {
119- $ this ->buildContainer (['fixer ' => null ], ['type ' => 'array ' , 'ttl ' => 60 ]);
119+ $ this ->buildContainer (['fixer ' => [ ' access_key ' => ' YOUR_KEY ' ] ], ['type ' => 'array ' , 'ttl ' => 60 ]);
120120
121121 $ this ->assertCache (Adapter \ArrayAdapter::class, [60 ]);
122122 }
@@ -127,14 +127,14 @@ public function testApcuCache()
127127 $ this ->markTestSkipped ('APCU is not enabled ' );
128128 }
129129
130- $ this ->buildContainer (['fixer ' => null ], ['type ' => 'apcu ' ]);
130+ $ this ->buildContainer (['fixer ' => [ ' access_key ' => ' YOUR_KEY ' ] ], ['type ' => 'apcu ' ]);
131131
132132 $ this ->assertCache (Adapter \ApcuAdapter::class, ['swap ' , 3600 ]);
133133 }
134134
135135 public function testFilesystemCache ()
136136 {
137- $ this ->buildContainer (['fixer ' => null ], ['type ' => 'filesystem ' ]);
137+ $ this ->buildContainer (['fixer ' => [ ' access_key ' => ' YOUR_KEY ' ] ], ['type ' => 'filesystem ' ]);
138138
139139 $ this ->assertCache (Adapter \FilesystemAdapter::class, ['swap ' , 3600 ]);
140140 }
@@ -145,7 +145,7 @@ public function testFilesystemCache()
145145 * @param array $providers
146146 * @param array $cache
147147 */
148- private function buildContainer (array $ providers = ['fixer ' => null ], array $ cache = [])
148+ private function buildContainer (array $ providers = ['fixer ' => [ ' access_key ' => ' test ' ] ], array $ cache = [])
149149 {
150150 $ this ->extension ->load ([
151151 'florianv_swap ' => [
0 commit comments