summaryrefslogtreecommitdiffstats
path: root/models/star_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/star_test.go')
-rw-r--r--models/star_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/star_test.go b/models/star_test.go
index d9717d9ec9..7b7fd516e3 100644
--- a/models/star_test.go
+++ b/models/star_test.go
@@ -61,8 +61,8 @@ func TestUser_GetStarredRepos(t *testing.T) {
starred, err = user.GetStarredRepos(true)
assert.NoError(t, err)
assert.Len(t, starred, 2)
- assert.Equal(t, int64(2), starred[0].ID)
- assert.Equal(t, int64(4), starred[1].ID)
+ assert.Equal(t, int64(4), starred[0].ID)
+ assert.Equal(t, int64(2), starred[1].ID)
}
func TestUser_GetStarredRepos2(t *testing.T) {