chore: add test comment

This commit is contained in:
chenrui 2022-03-08 17:27:24 +08:00
parent 326862f3f8
commit fe4715c5bd
1 changed files with 1 additions and 0 deletions

View File

@ -236,6 +236,7 @@ func TestSaveBelongsCircularReference(t *testing.T) {
DB.First(&parent1, parent.ID)
AssertObjEqual(t, parent, parent1, "ID", "FavChildID")
// Save and Updates is the same
DB.Updates(&parent)
DB.First(&parent1, parent.ID)
AssertObjEqual(t, parent, parent1, "ID", "FavChildID")