Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Jan 13, 2024
1 parent 24dc4fd commit 8facd8f
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions tests/integration/runtime/query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,28 +66,6 @@ func initFixture(t assert.TestingT) *fixture {
return f
}

func TestQueryAppConfig(t *testing.T) {
t.Parallel()
f := initFixture(t)

res, err := f.appQueryClient.Config(f.ctx, &appv1alpha1.QueryConfigRequest{})
assert.NilError(t, err)
// app config is not nil
assert.Assert(t, res != nil && res.Config != nil)

moduleConfigs := map[string]*appv1alpha1.ModuleConfig{}
for _, module := range res.Config.Modules {
moduleConfigs[module.Name] = module
}

// has all expected modules
for _, modName := range []string{"auth", "bank", "tx", "consensus", "runtime", "staking"} {
modConfig := moduleConfigs[modName]
assert.Assert(t, modConfig != nil)
assert.Assert(t, modConfig.Config != nil)
}
}

func TestReflectionService(t *testing.T) {
t.Parallel()
f := initFixture(t)
Expand Down

0 comments on commit 8facd8f

Please sign in to comment.