mirror of
https://github.com/tarampampam/error-pages.git
synced 2024-08-30 18:22:40 +00:00
wip: 🔕 temporary commit
This commit is contained in:
parent
14815b4c73
commit
7ed6ec414f
@ -33,8 +33,6 @@ func (m *fakeHealthChecker) Check(_ context.Context, addr string) error {
|
||||
}
|
||||
|
||||
func TestCommand_RunSuccess(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
var cmd = healthcheck.NewCommand(logger.NewNop(), &fakeHealthChecker{
|
||||
t: t,
|
||||
wantAddress: "http://127.0.0.1:1234",
|
||||
@ -44,8 +42,6 @@ func TestCommand_RunSuccess(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestCommand_RunFail(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
cmd := healthcheck.NewCommand(logger.NewNop(), &fakeHealthChecker{
|
||||
t: t,
|
||||
wantAddress: "http://127.0.0.1:4321",
|
||||
|
Loading…
Reference in New Issue
Block a user