File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \Translation \Tests ;
13
13
14
- use Symfony \Component \Config \Resource \ResourceInterface ;
14
+ use Symfony \Component \Config \Resource \SelfCheckingResourceInterface ;
15
15
use Symfony \Component \Translation \Loader \ArrayLoader ;
16
16
use Symfony \Component \Translation \Loader \LoaderInterface ;
17
17
use Symfony \Component \Translation \Translator ;
@@ -228,7 +228,7 @@ public function testPrimaryAndFallbackCataloguesContainTheSameMessagesRegardless
228
228
229
229
public function testRefreshCacheWhenResourcesAreNoLongerFresh ()
230
230
{
231
- $ resource = $ this ->getMock ('Symfony\Component\Config\Resource\ResourceInterface ' );
231
+ $ resource = $ this ->getMock ('Symfony\Component\Config\Resource\SelfCheckingResourceInterface ' );
232
232
$ loader = $ this ->getMock ('Symfony\Component\Translation\Loader\LoaderInterface ' );
233
233
$ resource ->method ('isFresh ' )->will ($ this ->returnValue (false ));
234
234
$ loader
@@ -281,7 +281,7 @@ private function createFailingLoader()
281
281
}
282
282
}
283
283
284
- class StaleResource implements ResourceInterface
284
+ class StaleResource implements SelfCheckingResourceInterface
285
285
{
286
286
public function isFresh ($ timestamp )
287
287
{
You can’t perform that action at this time.
0 commit comments