Browse Source

lib/model: Fix test function for introducer (#4898)

Simon Frei 7 năm trước cách đây
mục cha
commit
53dc346583
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/model/model_test.go

+ 1 - 1
lib/model/model_test.go

@@ -690,7 +690,7 @@ func TestIntroducer(t *testing.T) {
 				if introducedBy.Equals(introducedByAnyone) {
 					return true
 				}
-				return introducedBy.Equals(introducedBy)
+				return dev.IntroducedBy.Equals(introducedBy)
 			}
 		}
 		return false