From b0fa16429950a348eee65d42f8115bb7f9bb508f Mon Sep 17 00:00:00 2001 From: Foivos Date: Tue, 31 Oct 2023 19:03:41 +0200 Subject: [PATCH] removed unused test files --- contracts/test/utils/AdminableTest.sol | 21 --------------------- contracts/test/utils/DistributableTest.sol | 21 --------------------- 2 files changed, 42 deletions(-) delete mode 100644 contracts/test/utils/AdminableTest.sol delete mode 100644 contracts/test/utils/DistributableTest.sol diff --git a/contracts/test/utils/AdminableTest.sol b/contracts/test/utils/AdminableTest.sol deleted file mode 100644 index 34b07258..00000000 --- a/contracts/test/utils/AdminableTest.sol +++ /dev/null @@ -1,21 +0,0 @@ -// SPDX-License-Identifier: MIT - -pragma solidity ^0.8.0; - -import { Operatable } from '../../utils/Operatable.sol'; - -contract OperatorableTest is Operatable { - uint256 public nonce; - - constructor(address operator) { - _addOperator(operator); - } - - function testOperatorable() external onlyRole(uint8(Roles.OPERATOR)) { - nonce++; - } - - function getOperatorRole() external pure returns (uint8) { - return uint8(Roles.OPERATOR); - } -} diff --git a/contracts/test/utils/DistributableTest.sol b/contracts/test/utils/DistributableTest.sol deleted file mode 100644 index ccb1d9e6..00000000 --- a/contracts/test/utils/DistributableTest.sol +++ /dev/null @@ -1,21 +0,0 @@ -// SPDX-License-Identifier: MIT - -pragma solidity ^0.8.0; - -import { Distributable } from '../../utils/Distributable.sol'; - -contract DistributableTest is Distributable { - uint256 public nonce; - - constructor(address distributor) { - _addDistributor(distributor); - } - - function testDistributable() external onlyRole(uint8(Roles.DISTRIBUTOR)) { - nonce++; - } - - function getDistributorRole() external pure returns (uint8) { - return uint8(Roles.DISTRIBUTOR); - } -}