-
-
Notifications
You must be signed in to change notification settings - Fork 90
chore: scenary validate test #5198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will be necessary to implement the code to cover those changes
195b468
to
abfb7e6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now you need to recreate src/helpers/certification.js
to send it to the front end. I think the best way is via an initial state, perhaps named certification_rules.
It might be a good idea to create a toArray method in the RulesServices class. This could be a good way to transform the PHP code into JavaScript Object Notation and send it serialized to the front end via the initial state.
And then, remove the src/helpers/certification.js
matching the suggestion that was exposed at the issue:
To do this you will need to move the file apps-extra/libresign/src/helpers/certification.js to be a helper in API side and return this as JSON in an initial state to frontend.
77b64e6
to
82548ab
Compare
|
||
public static function providerGetHelperTextWithInvalidFieldName(): array { | ||
return [ | ||
['INVALID'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
['INVALID'], | |
[null], | |
['INVALID'], |
|
||
public static function providerGetRuleToInvalidField(): array { | ||
return [ | ||
['INVALID'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
['INVALID'], | |
[null], | |
['INVALID'], |
Signed-off-by: Crisciany Souza <[email protected]>
Signed-off-by: Crisciany Souza <[email protected]> Signed-off-by: Vitor Mattos <[email protected]>
I changed because the previous scenaio name was a copy paste of first scenario. Signed-off-by: Vitor Mattos <[email protected]>
Signed-off-by: Vitor Mattos <[email protected]>
The entire name of this field is Common Name and not only Name. Signed-off-by: Vitor Mattos <[email protected]>
Signed-off-by: Vitor Mattos <[email protected]>
Signed-off-by: Vitor Mattos <[email protected]>
Signed-off-by: Vitor Mattos <[email protected]>
Signed-off-by: Vitor Mattos <[email protected]>
Signed-off-by: Vitor Mattos <[email protected]>
Signed-off-by: Vitor Mattos <[email protected]>
Signed-off-by: Vitor Mattos <[email protected]>
Signed-off-by: Vitor Mattos <[email protected]>
Signed-off-by: Vitor Mattos <[email protected]>
Signed-off-by: Vitor Mattos <[email protected]>
Signed-off-by: Crisciany Souza <[email protected]>
Signed-off-by: Crisciany Souza <[email protected]>
Signed-off-by: Crisciany Souza <[email protected]>
Signed-off-by: Crisciany Souza <[email protected]>
Signed-off-by: Crisciany Souza <[email protected]>
82548ab
to
32e2dd5
Compare
Signed-off-by: Crisciany Souza <[email protected]>
Pull Request Description
Related Issue
Issue Number: #1967
Pull Request Type
Chore