Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciech-turek committed Dec 11, 2023
1 parent 5b591fa commit 6692dd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/asset/test/Catalyst.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ describe('Catalyst (/packages/asset/contracts/Catalyst.sol)', function () {
const {catalyst, deployer} = await runCatalystSetup();
await expect(
catalyst.connect(deployer).transferOwnership(deployer.address)
).to.be.revertedWith('Asset: Unauthorized');
).to.be.revertedWith('Catalyst: Unauthorized');
});
it('emits OwnershipTransferred event when DEFAULT_ADMIN_ROLE transfers the ownership', async function () {
const {catalyst, catalystAdmin} = await runCatalystSetup();
Expand Down
2 changes: 1 addition & 1 deletion packages/deploy/test/catalyst/catalyst.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ describe('Catalyst', function () {
const {CatalystContract, deployer} = await setupTest();
await expect(
CatalystContract.connect(deployer).transferOwnership(deployer.address)
).to.be.revertedWith('Asset: Unauthorized');
).to.be.revertedWith('Catalyst: Unauthorized');
});
it('emits OwnershipTransferred event when DEFAULT_ADMIN_ROLE transfers the ownership', async function () {
const {CatalystContract, catalystAdmin, deployer} = await setupTest();
Expand Down

1 comment on commit 6692dd1

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage for this commit

98.65%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
packages/asset/contracts
   Asset.sol95%90%96.88%98.28%118, 209, 311, 311–312, 78
   AssetCreate.sol94.64%84.21%100%100%140, 142, 200, 216, 333, 74
   AssetReveal.sol94.35%86.21%96.55%98.89%143, 147, 181, 376, 416, 424, 441, 75, 98
   AuthSuperValidator.sol90%83.33%100%88.89%51–52
   Catalyst.sol95.39%92.19%96.15%98.39%125, 127, 140, 152, 224, 80
packages/asset/contracts/interfaces
   IAsset.sol100%100%100%100%
   IAssetCreate.sol100%100%100%100%
   IAssetReveal.sol100%100%100%100%
   ICatalyst.sol100%100%100%100%
   ITokenUtils.sol100%100%100%100%
packages/asset/contracts/libraries
   TokenIdUtils.sol100%100%100%100%

Please sign in to comment.