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>
41 lines
798 B
Go
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")
|
|
}
|