Fix tests
This commit is contained in:
parent
41b6fcedf4
commit
d6e8e0de31
|
@ -92,7 +92,7 @@ func TestNamespace_ReadOne(t *testing.T) {
|
|||
assert.True(t, IsErrNamespaceDoesNotExist(err))
|
||||
})
|
||||
t.Run("with subscription", func(t *testing.T) {
|
||||
n := &Namespace{ID: 1}
|
||||
n := &Namespace{ID: 7}
|
||||
db.LoadAndAssertFixtures(t)
|
||||
s := db.NewSession()
|
||||
defer s.Close()
|
||||
|
|
|
@ -474,7 +474,7 @@ func TestTask_ReadOne(t *testing.T) {
|
|||
s := db.NewSession()
|
||||
defer s.Close()
|
||||
|
||||
task := &Task{ID: 12}
|
||||
task := &Task{ID: 22}
|
||||
err := task.ReadOne(s, u)
|
||||
assert.NoError(t, err)
|
||||
assert.NotNil(t, task.Subscription)
|
||||
|
|
Loading…
Reference in New Issue