Skip to content

Commit

Permalink
test: fix CreateAndDepositViaBroker_Integration_Test
Browse files Browse the repository at this point in the history
  • Loading branch information
smol-ninja committed May 24, 2024
1 parent 537fa6e commit ef66435
Showing 1 changed file with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pragma solidity >=0.8.22;
import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";

import { ISablierV2OpenEnded } from "src/interfaces/ISablierV2OpenEnded.sol";
import { Broker, OpenEnded } from "src/types/DataTypes.sol";
import { OpenEnded } from "src/types/DataTypes.sol";

import { Integration_Test } from "../Integration.t.sol";

Expand All @@ -26,15 +26,7 @@ contract CreateAndDepositViaBroker_Integration_Test is Integration_Test {
expectRevertDueToDelegateCall(callData);
}

function test_WhenTotalAmountIsNotZero()
external
whenNotDelegateCalled
whenSenderIsNotZeroAddress
whenRatePerSecondIsNotZero
whenTokenDecimalIsNotZero
whenBrokerFeeNotGreaterThanMaxFee
whenBrokerAddressIsNotZero
{
function test_WhenNotDelegateCalled() external {
uint256 expectedStreamId = openEnded.nextStreamId();

// it should create the stream
Expand Down

0 comments on commit ef66435

Please sign in to comment.