Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f64d3fc

Browse filesBrowse files
author
Robin Chalas
committed
minor #32938 [Lock] Legacy test should implement legacy interface (Simperfit)
This PR was merged into the 4.4 branch. Discussion ---------- [Lock] Legacy test should implement legacy interface | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | no <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> <!-- Replace this notice by a short README for your feature/bugfix. This will help people understand your PR and can be used as a start for the documentation. Additionally (see https://symfony.com/roadmap): - Bug fixes must be submitted against the lowest maintained branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against branch 4.4. - Legacy code removals go to the master branch. --> This was updated wrongly when working on the removing the interface usage. Commits ------- 920db2f [Lock] Legacy test should implement legacy interface
2 parents 3e523dd + 920db2f commit f64d3fc
Copy full SHA for f64d3fc

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎src/Symfony/Component/Lock/Tests/LockTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Lock/Tests/LockTest.php
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
use Symfony\Component\Lock\Key;
1919
use Symfony\Component\Lock\Lock;
2020
use Symfony\Component\Lock\PersistingStoreInterface;
21+
use Symfony\Component\Lock\StoreInterface;
2122

2223
/**
2324
* @author Jérémy Derussé <jeremy@derusse.com>
@@ -56,7 +57,7 @@ public function testAcquireNoBlockingStoreInterface()
5657
public function testPassingOldStoreInterface()
5758
{
5859
$key = new Key(uniqid(__METHOD__, true));
59-
$store = $this->getMockBuilder(PersistingStoreInterface::class)->getMock();
60+
$store = $this->getMockBuilder(StoreInterface::class)->getMock();
6061
$lock = new Lock($key, $store);
6162

6263
$store

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.