Skip to content

Commit

Permalink
Fixed both the test and workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTinker64 committed Aug 21, 2023
1 parent dc221a2 commit 1f2236a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ name: Java CI with Gradle

on:
push:
branches: [ "unit-testing" ]
branches: [ "*" ]
pull_request:
branches: [ "unit-testing" ]
branches: [ "*" ]

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/SwerveJoystickCmdTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ public void testEnd() {
// Act
command.end(false);
// Assert
verify(subsystem).getHeading();
verify(subsystem).stopModules();
}
}

0 comments on commit 1f2236a

Please sign in to comment.