From 110dc47cf587ab1e2c05d4e5a1bf511e85546e94 Mon Sep 17 00:00:00 2001 From: Ryan Sauge Date: Thu, 23 May 2024 11:59:45 +0200 Subject: [PATCH] clean up --- test/HelperContract.sol | 3 --- test/RuleEngineIntegration.t.sol | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/test/HelperContract.sol b/test/HelperContract.sol index 7568c61..312126d 100644 --- a/test/HelperContract.sol +++ b/test/HelperContract.sol @@ -4,12 +4,9 @@ pragma solidity ^0.8.20; import "forge-std/Test.sol"; import "CMTAT/CMTAT_STANDALONE.sol"; import "../src/IncomeVault.sol"; -//import "../src/invariantStorage/DebtVaultInvariantStorage.sol"; import "RuleEngine/RuleEngine.sol"; import "RuleEngine/rules/validation/RuleWhitelist.sol"; import {Upgrades, Options} from "openzeppelin-foundry-upgrades/Upgrades.sol"; -//import "OZ/token/ERC20/IERC20.sol"; -//import "OZ/token/ERC20/ERC20.sol"; /** * @title Constants used by the tests */ diff --git a/test/RuleEngineIntegration.t.sol b/test/RuleEngineIntegration.t.sol index 64a80b8..d69f54f 100644 --- a/test/RuleEngineIntegration.t.sol +++ b/test/RuleEngineIntegration.t.sol @@ -276,7 +276,7 @@ contract RuleEngineIntegration is RuleWhitelistInvariantStorage, Test, HelperCon assertEq(message1, TEXT_ADDRESS_TO_NOT_WHITELISTED); } - function testDetectAndMessageWithFromAndToNotWhitelisted() public { + function testDetectAndMessageWithFromAndToNotWhitelisted() public view { // Act uint8 res1 = debtVault.detectTransferRestriction( ADDRESS1,