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:
@@ -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'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user