File tree 1 file changed +3
-3
lines changed
src/Symfony/Component/Lock/Tests/Store
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ public function providePlatforms()
145
145
public function testTableCreationInTransactionNotSupported ()
146
146
{
147
147
$ conn = $ this ->createMock (Connection::class);
148
- $ conn ->expects ($ this ->exactly (2 ))
148
+ $ conn ->expects ($ this ->atLeast (2 ))
149
149
->method ('executeStatement ' )
150
150
->withConsecutive (
151
151
[$ this ->stringContains ('INSERT INTO ' )],
@@ -168,7 +168,7 @@ public function testTableCreationInTransactionNotSupported()
168
168
$ platform ->method ('getCreateTableSQL ' )
169
169
->willReturn (['create sql stmt ' ]);
170
170
171
- $ conn ->expects ($ this ->exactly (2 ))
171
+ $ conn ->expects ($ this ->atLeast (2 ))
172
172
->method ('getDatabasePlatform ' );
173
173
174
174
$ store = new DoctrineDbalStore ($ conn );
@@ -181,7 +181,7 @@ public function testTableCreationInTransactionNotSupported()
181
181
public function testCreatesTableOutsideTransaction ()
182
182
{
183
183
$ conn = $ this ->createMock (Connection::class);
184
- $ conn ->expects ($ this ->exactly (3 ))
184
+ $ conn ->expects ($ this ->atLeast (3 ))
185
185
->method ('executeStatement ' )
186
186
->withConsecutive (
187
187
[$ this ->stringContains ('INSERT INTO ' )],
You can’t perform that action at this time.
0 commit comments