Skip to content

Commit

Permalink
skip test, clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Sep 27, 2024
1 parent 03f2122 commit 2aad8cb
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions cmd/util/ledger/migrations/fix_authorizations_migration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,21 @@ import (
jsoncdc "github.com/onflow/cadence/encoding/json"
"github.com/onflow/cadence/runtime/common"
"github.com/onflow/cadence/runtime/interpreter"
"github.com/onflow/cadence/runtime/sema"
"github.com/rs/zerolog"
"github.com/stretchr/testify/require"

"github.com/onflow/flow-go/cmd/util/ledger/util/registers"
"github.com/onflow/flow-go/model/flow"
)

func newEntitlementSetAuthorizationFromTypeIDs(
typeIDs []common.TypeID,
setKind sema.EntitlementSetKind,
) interpreter.EntitlementSetAuthorization {
return interpreter.NewEntitlementSetAuthorization(
nil,
func() []common.TypeID {
return typeIDs
},
len(typeIDs),
setKind,
)
}

func TestFixAuthorizationsMigration(t *testing.T) {
t.Parallel()

// This test no longer works because publishing authorized capabilities is no longer allowed.
// The migration and test are kept for historical reasons.

t.Skip()

const chainID = flow.Emulator
chain := chainID.Chain()

Expand Down

0 comments on commit 2aad8cb

Please sign in to comment.