Skip to content

Commit

Permalink
JBProjects gutter
Browse files Browse the repository at this point in the history
  • Loading branch information
simplemachine92 committed Apr 22, 2024
1 parent 73f647c commit 991ee3f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions test/units/static/JBProjects/TestInitialProject.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.23;

import /* {*} from */ "../../../helpers/TestBaseWorkflow.sol";

contract TestInitialProject_Local is JBTest {
address _owner = makeAddr("owner");
IJBProjects _projects;

function setUp() public {}

function test_WhenInitialOwnerDNEQZeroAddress() external {
// It will create a project

vm.expectEmit();
emit IJBProjects.Create(1, _owner, address(this));
_projects = new JBProjects(_owner, _owner);
}

}

0 comments on commit 991ee3f

Please sign in to comment.