chore: add validations to test endpoint (#111622)
* chore: add validations to test endpoint * Validate path --------- Co-authored-by: Clarity-89 <homes89@ukr.net>
This commit is contained in:
co-authored by
Clarity-89
parent
054e12b1ac
commit
31ae013e8d
@@ -267,7 +267,6 @@ func TestIntegrationProvisioning_RepositoryValidation(t *testing.T) {
|
||||
|
||||
if test.expectError != nil {
|
||||
require.Error(t, err, "Expected error for repository with path: %s", test.path)
|
||||
|
||||
require.ErrorContains(t, err, test.expectError.Error(), "Error should contain expected message for path: %s", test.path)
|
||||
var statusError *apierrors.StatusError
|
||||
if errors.As(err, &statusError) {
|
||||
|
||||
Reference in New Issue
Block a user