Skip to content

Commit

Permalink
fix: import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra committed Jan 6, 2025
1 parent e673508 commit 73e230d
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions tests/treasury/Collector.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import {StdUtils} from 'forge-std/StdUtils.sol';

import {ProxyAdmin} from 'solidity-utils/contracts/transparent-proxy/ProxyAdmin.sol';
import {TransparentUpgradeableProxy} from 'solidity-utils/contracts/transparent-proxy/TransparentUpgradeableProxy.sol';
import {IERC20} from 'src/contracts/dependencies/openzeppelin/contracts/IERC20.sol';
import {IAccessControl} from 'src/contracts/dependencies/openzeppelin/contracts/IAccessControl.sol';
import {ACLManager} from 'src/contracts/protocol/configuration/ACLManager.sol';
import {PoolAddressesProvider} from 'src/contracts/protocol/configuration/PoolAddressesProvider.sol';
import {Collector} from 'src/contracts/treasury/Collector.sol';
import {ICollector} from 'src/contracts/treasury/ICollector.sol';
import {IERC20} from '../../src/contracts/dependencies/openzeppelin/contracts/IERC20.sol';
import {IAccessControl} from '../../src/contracts/dependencies/openzeppelin/contracts/IAccessControl.sol';
import {ACLManager} from '../../src/contracts/protocol/configuration/ACLManager.sol';
import {PoolAddressesProvider} from '../../src/contracts/protocol/configuration/PoolAddressesProvider.sol';
import {Collector} from '../../src/contracts/treasury/Collector.sol';
import {ICollector} from '../../src/contracts/treasury/ICollector.sol';

contract CollectorTest is StdUtils, Test {
Collector public collector;
Expand Down Expand Up @@ -66,13 +66,15 @@ contract CollectorTest is StdUtils, Test {
nextStreamID = 0;

address collectorImpl = address(new Collector());
collector = Collector(address(
new TransparentUpgradeableProxy(
collectorImpl,
new ProxyAdmin(address(this)), // mock proxy admin
abi.encodeWithSelector(Collector.initialize.selector, nextStreamID, EXECUTOR_LVL_1)
collector = Collector(
address(
new TransparentUpgradeableProxy(
collectorImpl,
new ProxyAdmin(address(this)), // mock proxy admin
abi.encodeWithSelector(Collector.initialize.selector, nextStreamID, EXECUTOR_LVL_1)
)
)
));
);

deal(address(tokenA), address(collector), 100 ether);

Expand Down

0 comments on commit 73e230d

Please sign in to comment.