Skip to content

Commit

Permalink
Fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
LostQuasar committed Jun 12, 2024
1 parent c134231 commit f096d94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ jobs:
- name: Run tests
run: cargo test --verbose
env:
OPENSHOCK_TOKEN: ${{ env.OPENSHOCK_TOKEN }}
SHOCKER_TEST_ID: ${{ env.SHOCKER_TEST_ID }}
USER_TEST_ID: ${{ env.USER_TEST_ID }}
OPENSHOCK_TOKEN: ${{ secrets.OPENSHOCK_TOKEN }}
SHOCKER_TEST_ID: ${{ secrets.SHOCKER_TEST_ID }}
USER_TEST_ID: ${{ secrets.USER_TEST_ID }}
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ mod tests {
shocker_test_id,
ControlType::Sound,
);
assert_eq!(calculate_hash(&result.await.unwrap()), calculate_hash(&"Successfully sent control messages"));
assert_eq!(&result.await.unwrap(), &"Successfully sent control messages");
}

#[tokio::test]
Expand Down

0 comments on commit f096d94

Please sign in to comment.