Chore: Deprecate Id from Folder in DTOs (#77943)

* Chore: Deprecate Id from Folder in DTOs

* chore: regen spec
This commit is contained in:
Kat Yang
2023-11-15 10:29:49 -05:00
committed by GitHub
parent ae326eaed1
commit a640d9d395
6 changed files with 7 additions and 2 deletions
+2
View File
@@ -145,6 +145,7 @@ func TestFoldersCreateAPIEndpoint(t *testing.T) {
require.NoError(t, resp.Body.Close())
if tc.expectedCode == http.StatusOK {
// nolint:staticcheck
assert.Equal(t, int64(1), folder.Id)
assert.Equal(t, "uid", folder.Uid)
assert.Equal(t, "Folder", folder.Title)
@@ -249,6 +250,7 @@ func TestFoldersUpdateAPIEndpoint(t *testing.T) {
require.NoError(t, resp.Body.Close())
if tc.expectedCode == http.StatusOK {
// nolint:staticcheck
assert.Equal(t, int64(1), folder.Id)
assert.Equal(t, "uid", folder.Uid)
assert.Equal(t, "Folder upd", folder.Title)