cosmos-sdk/x/circuit/keeper/msg_authorize_test.go
Aaron Craelius 248f8bd488
test(x/circuit): add MsgAuthorizeCircuitBreaker feature (#14512)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-01-12 19:14:11 +00:00

41 lines
798 B
Go

package keeper
import (
"testing"
"github.com/regen-network/gocuke"
)
func TestAuthorize(t *testing.T) {
t.Skip("TODO: uncomment this after implementing")
gocuke.NewRunner(t, &authorizeSuite{}).Path("../features/msg_authorize.feature").Run()
}
type authorizeSuite struct {
t gocuke.TestingT
}
func (s *authorizeSuite) HasPermission(a string, b string) {
panic("PENDING")
}
func (s *authorizeSuite) HasNoPermissions(a string) {
panic("PENDING")
}
func (s *authorizeSuite) AttemptsToGrantThePermissions(a string, b string, c gocuke.DocString) {
panic("PENDING")
}
func (s *authorizeSuite) ExpectSuccess() {
panic("PENDING")
}
func (s *authorizeSuite) ExpectAnError(a string) {
panic("PENDING")
}
func (s *authorizeSuite) ExpectThatHasNoPermissions(a string) {
panic("PENDING")
}