diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 33a7361f..6997d3c2 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -9,9 +9,9 @@ name: Java CI with Gradle on: push: - branches: [ "unit-testing" ] + branches: [ "*" ] pull_request: - branches: [ "unit-testing" ] + branches: [ "*" ] permissions: contents: read diff --git a/src/test/java/SwerveJoystickCmdTest.java b/src/test/java/SwerveJoystickCmdTest.java index 427e8099..5d065393 100644 --- a/src/test/java/SwerveJoystickCmdTest.java +++ b/src/test/java/SwerveJoystickCmdTest.java @@ -23,6 +23,6 @@ public void testEnd() { // Act command.end(false); // Assert - verify(subsystem).getHeading(); + verify(subsystem).stopModules(); } }