tests-refactor #137

Merged
lash merged 24 commits from tests-refactor into master 2024-10-28 16:28:42 +01:00
Member

This PR aim is to refactor the menu tests.Structs,mocks and functions returning static data used for testing have been moved to testutil/*

This PR aim is to refactor the menu tests.Structs,mocks and functions returning static data used for testing have been moved to testutil/*
carlos added 22 commits 2024-10-25 08:42:15 +02:00
carlos added 2 commits 2024-10-25 17:02:16 +02:00
lash reviewed 2024-10-25 21:04:32 +02:00
@ -32,6 +32,7 @@ var (
translationDir = path.Join(scriptDir, "locale")
okResponse *api.OKResponse
errResponse *api.ErrResponse
backOption = []byte("0")
Owner

What is this backoption please?

What is this backoption please?
Author
Member

The backOption is used to check if the input was "0" in the edit profile information context,then we should not consider that a valid profile information entry.

The backOption is used to check if the input was "0" in the edit profile information context,then we should not consider that a valid profile information entry.
Owner

I understand, but wouldnt the INCMP take care of avoiding that?

I understand, but wouldnt the INCMP take care of avoiding that?
lash merged commit 727f54ee57 into master 2024-10-28 16:28:42 +01:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: urdt/ussd#137
No description provided.