mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-03 08:10:28 +00:00
fix nil check in tests
This commit is contained in:
parent
f8140ac60e
commit
d41ce08400
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ func TestItemsRepository_RecursiveRelationships(t *testing.T) {
|
|||
// Check Parent ID
|
||||
updated, err = tRepos.Items.GetOne(context.Background(), child.ID)
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, uuid.Nil, updated.Parent.ID)
|
||||
assert.Nil(t, updated.Parent)
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue