1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-06 00:40:06 +01:00

Add set-ngrok-token command

This commit is contained in:
Matt Stauffer
2022-12-22 10:30:50 -05:00
parent 72212fb7b6
commit b200022041
3 changed files with 27 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
<?php
use Illuminate\Container\Container;
use Valet\CommandLine;
use Valet\Ngrok;
use function Valet\user;
@@ -47,7 +48,7 @@ public function test_it_matches_correct_share_tunnel()
],
];
$ngrok = new Ngrok;
$ngrok = new Ngrok(new CommandLine);
$this->assertEquals('http://right-one.ngrok.io/', $ngrok->findHttpTunnelUrl($tunnels, 'mysite'));
}
@@ -63,7 +64,7 @@ public function test_it_checks_against_lowercased_domain()
],
];
$ngrok = new Ngrok;
$ngrok = new Ngrok(new CommandLine);
$this->assertEquals('http://right-one.ngrok.io/', $ngrok->findHttpTunnelUrl($tunnels, 'MySite'));
}
}