File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -228,6 +228,8 @@ func TestNotifyWatchers(t *testing.T) {
228228}
229229
230230func TestGetFeedsCorrupted (t * testing.T ) {
231+ // Now we will not check for corrupted data in the feeds
232+ // users should run doctor to fix their data
231233 assert .NoError (t , unittest .PrepareTestDatabase ())
232234 user := unittest .AssertExistsAndLoadBean (t , & user_model.User {ID : 1 })
233235 unittest .AssertExistsAndLoadBean (t , & activities_model.Action {
@@ -241,8 +243,8 @@ func TestGetFeedsCorrupted(t *testing.T) {
241243 IncludePrivate : true ,
242244 })
243245 assert .NoError (t , err )
244- assert .Len (t , actions , 0 )
245- assert .Equal (t , int64 (0 ), count )
246+ assert .Len (t , actions , 1 )
247+ assert .Equal (t , int64 (1 ), count )
246248}
247249
248250func TestConsistencyUpdateAction (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments