Skip to content

Commit 3d3925f

Browse files
author
Andrey Helldar
authored
Merge pull request #44 from TheDragonCode/2.x
Fixed test
2 parents 7c826c0 + a8b60fd commit 3d3925f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/Services/GitTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
namespace Tests\Services;
66

77
use DragonCode\LaravelActions\Facades\Git;
8-
use Illuminate\Support\Str;
98
use Tests\TestCase;
109

1110
class GitTest extends TestCase
@@ -19,6 +18,6 @@ public function testCurrentBranch()
1918
{
2019
$branch = Git::currentBranch(__DIR__ . '/../../.git');
2120

22-
$this->assertTrue(Str::contains($branch, ['main', '2.x']));
21+
$this->assertIsString($branch);
2322
}
2423
}

0 commit comments

Comments
 (0)