tests-update #100
@ -96,8 +96,6 @@ func TestCreateAccount(t *testing.T) {
|
||||
mockDataStore.AssertExpectations(t)
|
||||
}
|
||||
|
||||
|
||||
|
||||
func TestWithPersister(t *testing.T) {
|
||||
// Test case: Setting a persister
|
||||
h := &Handlers{}
|
||||
@ -117,7 +115,6 @@ func TestWithPersister_PanicWhenAlreadySet(t *testing.T) {
|
||||
}, "Should panic when trying to set a persister again.")
|
||||
}
|
||||
|
||||
|
||||
func TestSaveFirstname(t *testing.T) {
|
||||
// Create a new instance of MockMyDataStore
|
||||
mockStore := new(mocks.MockUserDataStore)
|
||||
@ -354,12 +351,6 @@ func TestSaveGender(t *testing.T) {
|
||||
expectedGender: "unspecified",
|
||||
expectCall: true,
|
||||
},
|
||||
// {
|
||||
// name: "Empty Input",
|
||||
// input: []byte(""),
|
||||
// expectedGender: "",
|
||||
// expectCall: false,
|
||||
// },
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
@ -588,13 +579,6 @@ func TestSetLanguage(t *testing.T) {
|
||||
Content: "swa",
|
||||
},
|
||||
},
|
||||
// {
|
||||
// name: "Unhandled path",
|
||||
// execPath: []string{""},
|
||||
// expectedResult: resource.Result{
|
||||
// FlagSet: []uint32{8},
|
||||
// },
|
||||
// },
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
Loading…
Reference in New Issue
Block a user