Skip to content

Commit

Permalink
tool-versions (#9)
Browse files Browse the repository at this point in the history
Cool
  • Loading branch information
Abeeujah authored Jan 25, 2025
1 parent 2ffbf07 commit 5c43e74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
with:
scarb-version: "2.9.1"
scarb-version: "2.9.2"
- uses: foundry-rs/setup-snfoundry@v3
with:
starknet-foundry-version: "0.32.0"
- run: snforge -V # Check the version of snforge
starknet-foundry-version: "0.36.0"
- run: snforge -V # Check the version of snforge
- run: scarb fmt --check
- run: scarb test
2 changes: 1 addition & 1 deletion tests/test_contract.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fn test_create_should_emit_event_on_success() {
let mut spy = spy_events();
skillnet_dispatcher.create_course("BaseCamp 11", 0);
let expected_event = SkillNet::Event::NewCourseCreated(
SkillNet::NewCourseCreated { course_id: 100, name: "BaseCamp 11", instructor: instructor },
SkillNet::NewCourseCreated { course_id: 1, name: "BaseCamp 11", instructor: instructor },
);
spy.assert_emitted(@array![(skillnet_contract_address, expected_event)]);
stop_cheat_caller_address(skillnet_contract_address);
Expand Down

0 comments on commit 5c43e74

Please sign in to comment.