Updated tests in SharedGroup

This commit is contained in:
adragusin
2019-11-20 09:59:37 +02:00
committed by Dan Christian Bogos
parent 1db6f91ad5
commit 66477fd97c
2 changed files with 14 additions and 7 deletions

View File

@@ -71,6 +71,9 @@ func (sg *SharedGroup) Clone() (sharedGroup *SharedGroup) {
//Clone clones *SharingParameters
func (sp *SharingParameters) Clone() *SharingParameters {
if sp == nil {
return nil
}
return &SharingParameters{
Strategy: sp.Strategy,
RatingSubject: sp.RatingSubject,