Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
openzeppelin-contracts-upgradeable
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
openzeppelin-contracts-upgradeable
Commits
f7829430
Unverified
Commit
f7829430
authored
Aug 03, 2021
by
William Entriken
Committed by
GitHub
Aug 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move variable declaration to top of test file (#2806)
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
parent
3da0cf69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
ERC721.behavior.js
test/token/ERC721/ERC721.behavior.js
+1
-1
No files found.
test/token/ERC721/ERC721.behavior.js
View file @
f7829430
...
@@ -12,6 +12,7 @@ const Error = [ 'None', 'RevertWithMessage', 'RevertWithoutMessage', 'Panic' ]
...
@@ -12,6 +12,7 @@ const Error = [ 'None', 'RevertWithMessage', 'RevertWithoutMessage', 'Panic' ]
const
firstTokenId
=
new
BN
(
'5042'
);
const
firstTokenId
=
new
BN
(
'5042'
);
const
secondTokenId
=
new
BN
(
'79217'
);
const
secondTokenId
=
new
BN
(
'79217'
);
const
nonExistentTokenId
=
new
BN
(
'13'
);
const
nonExistentTokenId
=
new
BN
(
'13'
);
const
fourthTokenId
=
new
BN
(
4
);
const
baseURI
=
'https://api.example.com/v1/'
;
const
baseURI
=
'https://api.example.com/v1/'
;
const
RECEIVER_MAGIC_VALUE
=
'0x150b7a02'
;
const
RECEIVER_MAGIC_VALUE
=
'0x150b7a02'
;
...
@@ -342,7 +343,6 @@ function shouldBehaveLikeERC721 (errorPrefix, owner, newOwner, approved, another
...
@@ -342,7 +343,6 @@ function shouldBehaveLikeERC721 (errorPrefix, owner, newOwner, approved, another
});
});
describe
(
'safe mint'
,
function
()
{
describe
(
'safe mint'
,
function
()
{
const
fourthTokenId
=
new
BN
(
4
);
const
tokenId
=
fourthTokenId
;
const
tokenId
=
fourthTokenId
;
const
data
=
'0x42'
;
const
data
=
'0x42'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment