Skip to content

Commit 089e72d

Browse files
authored
changed signature method commit
between laravel versions 9 and 10, the signature of the method `commit` within the `DatabaseTransactionsManager:class` was changed.
1 parent 806a59d commit 089e72d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/Feature/TestCase.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,6 @@ public function testPush(): void
9696

9797
public function testPushAfterCommit(): void
9898
{
99-
$this->markTestSkipped();
100-
10199
$transaction = new DatabaseTransactionsManager;
102100

103101
$this->app->singleton('db.transactions', function ($app) use ($transaction) {
@@ -112,7 +110,7 @@ public function testPushAfterCommit(): void
112110
$this->assertSame(0, Queue::size());
113111
$this->assertNull(Queue::pop());
114112

115-
$transaction->commit('FakeDBConnection');
113+
$transaction->commit('FakeDBConnection', 1, 0);
116114

117115
sleep(1);
118116

0 commit comments

Comments
 (0)