fix: update subdomainOpToZFPieces

This commit is contained in:
janniks
2022-07-06 18:57:26 -04:00
committed by janniks
parent b32cb417f5
commit 159157d778
2 changed files with 1 additions and 2 deletions

View File

@@ -811,7 +811,6 @@ function destructZonefile(zonefile: string) {
export function subdomainOpToZFPieces(operation: SubdomainOp) {
const destructedZonefile = destructZonefile(operation.zonefile);
const txt = [
operation.subdomainName,
`owner=${operation.owner}`,
`seqn=${operation.sequenceNumber}`,
`parts=${destructedZonefile.length}`,

View File

@@ -279,7 +279,7 @@ describe('Subdomain Migration', () => {
'sound idle panel often situate develop unit text design antenna vendor screen opinion balcony share trigger accuse scatter visa uniform brass update opinion media',
'test2.id.stx', // Subdomain to be migrated
'ST3Q2T3380WE1K5PW72R6R76Q8HRPEK8HR02W6V1M', // Owner mismatch
'No subdomains selected. Canceling...', // expected output, not migrated due to owner mismatch
'No subdomains found or selected. Canceling...', // expected output, not migrated due to owner mismatch
false,
],
];