Files
dissoupovandGitHub 4667e96e3f Upgrade deps (#4)
* Update docs

* Upgrade deps
2026-10-16 16:34:15 -05:00

28 lines
570 B
Go

package command_test
import (
"testing"
"github.com/effective-security/trustyca/api/cli/clisuite"
"github.com/stretchr/testify/suite"
)
type testSuiteRest struct {
clisuite.TestSuite
}
// The suites are not parallel: parsing the CLI configuration sets
// process-wide logging and time formatting, Cli.AfterApply, and the gRPC
// suite replaces format.NowFunc for each test.
func TestSuite(t *testing.T) {
suite.Run(t, new(testSuiteRest))
}
type testSuiteGrpc struct {
clisuite.TestSuiteGrpc
}
func TestRpc(t *testing.T) {
suite.Run(t, new(testSuiteGrpc))
}