Allow spaces in policy names (#3482)

This commit is contained in:
Cesar Celis
2024-12-05 12:55:57 -05:00
committed by GitHub
parent 6afd0b16dc
commit 5cf02ffae9
4 changed files with 5 additions and 16 deletions

View File

@@ -176,7 +176,7 @@ func Test_AddPolicyAPI(t *testing.T) {
]
}`),
},
expectedStatus: 400,
expectedStatus: 201, // Changed the expected status from 400 to 201, as spaces are now allowed in policy names.
expectedError: nil,
},
{