Implemented Update method

This commit is contained in:
Riley Schneider
2025-12-03 23:17:31 +01:00
parent f2cc964d39
commit 292d6c74c3
3 changed files with 33 additions and 10 deletions

View File

@@ -43,6 +43,6 @@ public class DatabaseBadCasesTest {
@Test
@DisplayName("Updates an object that does not exist")
public void assertUpdateNonExistentObject() throws SQLException {
assertNull(databaseManager.updateObject(123, new Task(1, 2, "", "")));
assertNull(databaseManager.updateObject(123, new Task(123, 2, "", "")));
}
}