We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7c826c0 + a8b60fd commit 3d3925fCopy full SHA for 3d3925f
tests/Services/GitTest.php
@@ -5,7 +5,6 @@
5
namespace Tests\Services;
6
7
use DragonCode\LaravelActions\Facades\Git;
8
-use Illuminate\Support\Str;
9
use Tests\TestCase;
10
11
class GitTest extends TestCase
@@ -19,6 +18,6 @@ public function testCurrentBranch()
19
18
{
20
$branch = Git::currentBranch(__DIR__ . '/../../.git');
21
22
- $this->assertTrue(Str::contains($branch, ['main', '2.x']));
+ $this->assertIsString($branch);
23
}
24
0 commit comments