@@ -641,7 +641,7 @@ describe('GNS', () => {
641
641
newSubgraph1 . subgraphDeploymentID ,
642
642
newSubgraph1 . versionMetadata ,
643
643
)
644
- await expect ( tx ) . revertedWith ( 'ERC721: operator query for nonexistent token' )
644
+ await expect ( tx ) . revertedWith ( 'ERC721: owner query for nonexistent token' )
645
645
} )
646
646
647
647
it ( 'reject if not the owner' , async function ( ) {
@@ -696,7 +696,7 @@ describe('GNS', () => {
696
696
newSubgraph1 . versionMetadata ,
697
697
)
698
698
// NOTE: deprecate burns the Subgraph NFT, when someone wants to publish a new version it won't find it
699
- await expect ( tx ) . revertedWith ( 'ERC721: operator query for nonexistent token' )
699
+ await expect ( tx ) . revertedWith ( 'ERC721: owner query for nonexistent token' )
700
700
} )
701
701
} )
702
702
@@ -722,13 +722,13 @@ describe('GNS', () => {
722
722
newSubgraph1 . versionMetadata ,
723
723
)
724
724
// NOTE: deprecate burns the Subgraph NFT, when someone wants to publish a new version it won't find it
725
- await expect ( tx ) . revertedWith ( 'ERC721: operator query for nonexistent token' )
725
+ await expect ( tx ) . revertedWith ( 'ERC721: owner query for nonexistent token' )
726
726
} )
727
727
728
728
it ( 'reject if the subgraph does not exist' , async function ( ) {
729
729
const subgraphID = randomHexBytes ( 32 )
730
730
const tx = gns . connect ( me . signer ) . deprecateSubgraph ( subgraphID )
731
- await expect ( tx ) . revertedWith ( 'ERC721: operator query for nonexistent token' )
731
+ await expect ( tx ) . revertedWith ( 'ERC721: owner query for nonexistent token' )
732
732
} )
733
733
734
734
it ( 'reject deprecate if not the owner' , async function ( ) {
0 commit comments