Lines 106-112
subtest 'get() tests' => sub {
Link Here
|
106 |
my @new_fields_in_response = array_minus( @response_fields, @expected_fields ); |
106 |
my @new_fields_in_response = array_minus( @response_fields, @expected_fields ); |
107 |
|
107 |
|
108 |
my $new_fields_string = |
108 |
my $new_fields_string = |
109 |
"This is not a new error within Koha, the following new field(s) have been added to the API repsonse: " |
109 |
"This is not a new error within Koha, the following new field(s) have been added to the API response: " |
110 |
. join( ', ', @new_fields_in_response ) |
110 |
. join( ', ', @new_fields_in_response ) |
111 |
. '. They should be added to the API definition'; |
111 |
. '. They should be added to the API definition'; |
112 |
warning_like { scalar(@new_fields_in_response) } 0, $new_fields_string; |
112 |
warning_like { scalar(@new_fields_in_response) } 0, $new_fields_string; |
113 |
- |
|
|