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