test: repair tests, `space` having been added to the account response (#28518)

This commit is contained in:
Steven Luscher 2022-10-20 13:37:55 -07:00 committed by GitHub
parent c68fb5f68d
commit 65f1614a42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -97,6 +97,7 @@ describe('Subscriptions', () => {
lamports: 0,
owner: PublicKey.default.toBase58(),
rentEpoch: 0,
space: 0,
},
},
});
@ -210,6 +211,7 @@ describe('Subscriptions', () => {
lamports: 0,
owner: PublicKey.default.toBase58(),
rentEpoch: 0,
space: 0,
},
},
},

View File

@ -230,6 +230,7 @@ describe('Connection', function () {
data: ['', 'base64'],
executable: false,
rentEpoch: 0,
space: 0,
},
{
owner: '11111111111111111111111111111111',
@ -237,6 +238,7 @@ describe('Connection', function () {
data: ['', 'base64'],
executable: false,
rentEpoch: 0,
space: 0,
},
];
@ -262,6 +264,7 @@ describe('Connection', function () {
data: Buffer.from([]),
executable: false,
rentEpoch: 0,
space: 0,
},
{
owner: new PublicKey('11111111111111111111111111111111'),
@ -269,6 +272,7 @@ describe('Connection', function () {
data: Buffer.from([]),
executable: false,
rentEpoch: 0,
space: 0,
},
];
@ -3935,6 +3939,7 @@ describe('Connection', function () {
lamports: LAMPORTS_PER_SOL - 5000,
owner: SystemProgram.programId.toBase58(),
rentEpoch: 0,
space: 0,
},
]);
});