Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitf64d3fc

Browse 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 <!-- seehttps://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 peopleunderstand your PR and can be used as a start for the documentation.Additionally (seehttps://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 parents3e523dd +920db2f commitf64d3fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
useSymfony\Component\Lock\Key;
1919
useSymfony\Component\Lock\Lock;
2020
useSymfony\Component\Lock\PersistingStoreInterface;
21+
useSymfony\Component\Lock\StoreInterface;
2122

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

6263
$store

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp