only test new queries in 46

This commit is contained in:
Mantas Vidutis 2022-11-26 16:50:44 +01:00
parent eb6d9ea378
commit ac765342eb
No known key found for this signature in database
GPG Key ID: 60BDC8CD8FA60E29

View File

@ -12,6 +12,7 @@ import {
faucet,
makeRandomAddress,
pendingWithoutSimapp44Or46,
pendingWithoutSimapp46,
simapp,
simapp44Enabled,
simapp46Enabled,
@ -102,7 +103,7 @@ describe("AuthzExtension", () => {
});
it("works querying by granter", async () => {
pendingWithoutSimapp44Or46();
pendingWithoutSimapp46();
const [client, tmClient] = await makeClientWithAuthz(simapp.tendermintUrl);
const response = await client.authz.granterGrants(granter1Address);
expect(response.grants.length).toEqual(1);
@ -128,7 +129,7 @@ describe("AuthzExtension", () => {
});
it("works querying by grantee", async () => {
pendingWithoutSimapp44Or46();
pendingWithoutSimapp46();
const [client, tmClient] = await makeClientWithAuthz(simapp.tendermintUrl);
const response = await client.authz.granteeGrants(grantee1Address);
expect(response.grants.length).toEqual(1);