Skip to content

Commit

Permalink
CU-86b1g1mye_SRU2024_Generar-un-enum-de-FieldNames-para-validar-que-e… (
Browse files Browse the repository at this point in the history
#194)

* CU-86b1g1mye_SRU2024_Generar-un-enum-de-FieldNames-para-validar-que-el-Field-exista

* CU-86b1g1mye_SRU2024_Generar-un-enum-de-FieldNames-para-validar-que-el-Field-exista

---------

Co-authored-by: Sebastian Zubrinic <[email protected]>
  • Loading branch information
ptorres-prowide and zubri authored Sep 30, 2024
1 parent de92a77 commit bfe88e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
package com.prowidesoftware.swift.model.field;

/**
* Enumeration of fields for SRU 2023
* Enumeration of fields for SRU 2024
*
* @since 9.4.18
* @since 9.5.2
*/
public enum FieldEnum {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ void testFromFieldNameValid(String fieldName, FieldEnum expectedEnum) {
@Test
void testfromFieldNameInvalid() {
// Validate that fromFieldName returns null when an invalid code is provided
assertNull(FieldEnum.fromFieldName("999A"));
assertNull(FieldEnum.fromFieldName("930K"));
assertNull(FieldEnum.fromFieldName("ABC"));
assertNull(FieldEnum.fromFieldName(""));
}
Expand Down

0 comments on commit bfe88e2

Please sign in to comment.