You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
550 B
33 lines
550 B
package member |
|
|
|
import ( |
|
"reflect" |
|
"testing" |
|
|
|
"go-common/app/interface/main/app-interface/conf" |
|
|
|
. "github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
func TestNew(t *testing.T) { |
|
Convey("TestNew", t, func() { |
|
|
|
}) |
|
type args struct { |
|
c *conf.Config |
|
} |
|
tests := []struct { |
|
name string |
|
args args |
|
wantD *Dao |
|
}{ |
|
// TODO: Add test cases. |
|
} |
|
for _, tt := range tests { |
|
t.Run(tt.name, func(t *testing.T) { |
|
if gotD := New(tt.args.c); !reflect.DeepEqual(gotD, tt.wantD) { |
|
t.Errorf("New() = %v, want %v", gotD, tt.wantD) |
|
} |
|
}) |
|
} |
|
}
|
|
|