Skip to content

Commit 8b14bb4

Browse files
committed
Updated in tests according to the code review comments
1 parent 61e0d6a commit 8b14bb4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Tests/GrowBitAppServerTests/GrowBitAppServerDeleteCategoryTests.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ struct GrowBitAppServerDeleteCategoryTests {
111111

112112
#expect(categoryIds.count == 3)
113113

114-
// TODO(human)
115114
// Delete the category
116115
try await app.testing().test(.DELETE, "/api/\(userId.uuidString)/categories/\(categoryIds[1].uuidString)") { req in
117116
// No body needed for DELETE request
@@ -135,7 +134,7 @@ struct GrowBitAppServerDeleteCategoryTests {
135134
.first()
136135
#expect(category != nil)
137136

138-
// Verify the category still exists for user1
137+
// Verify the third category still exists for user1
139138
category = try await Category.query(on: app.db)
140139
.filter(\.$id == categoryIds[2])
141140
.first()

0 commit comments

Comments
 (0)