diff --git a/lxd/db/db_internal_test.go b/lxd/db/db_internal_test.go
index <HASH>..<HASH> 100644
--- a/lxd/db/db_internal_test.go
+++ b/lxd/db/db_internal_test.go
@@ -63,7 +63,7 @@ func (s *dbTestSuite) CreateTestDb() (*Cluster, func()) {
 		s.Nil(err)
 	}
 
-	db, cleanup := NewTestCluster(s.T())
+	db, cleanup := NewTestCluster(s.T().(*testing.T))
 	return db, cleanup
 }
lxd/db: Fix for new testify