10000 Implement service-based Resource (cache) validation by mpdude · Pull Request #15738 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Implement service-based Resource (cache) validation #15738

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix deprecation notice in test
  • Loading branch information
mpdude committed Sep 14, 2015
commit 64b922436676a1db304a966819dd3681a8687e5c
2 changes: 1 addition & 1 deletion src/Symfony/Component/Translation/Tests/TranslatorCacheTest.php
7930
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ public function testPrimaryAndFallbackCataloguesContainTheSameMessagesRegardless

public function testRefreshCacheWhenResourcesAreNoLongerFresh()
{
$resource = $this->getMock('Symfony\Component\Config\Resource\ResourceInterface');
$resource = $this->getMock('Symfony\Component\Config\Resource\SelfCheckingResourceInterface');
$loader = $this->getMock('Symfony\Component\Translation\Loader\LoaderInterface');
$resource->method('isFresh')->will($this->returnValue(false));
$loader
Expand Down
0