Bug 36627: Fix typo "embeded"

A search turned up more of these in other files. Fixed as well.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 3b86455e02)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Katrin Fischer 2024-12-23 11:41:25 +00:00 committed by Paul Derscheid
parent 3ce6813527
commit b2a45e2e5f
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
4 changed files with 7 additions and 7 deletions

View File

@ -37,7 +37,7 @@ Koha::ERM::Document - Koha ERM Document Object class
sub to_api_mapping {
return {
# Do not expose file_content to prevent the content to be fetch from the DB and sent over the network when embeded
# Do not expose file_content to prevent the content to be fetch from the DB and sent over the network when embedded
file_content => undef,
};
}

View File

@ -82952,7 +82952,7 @@ var MASKFUNCS = [
return ((i + j) % 2 + (i * j) % 3) % 2 === 0;
}];
// returns true when the version information has to be embeded.
// returns true when the version information has to be embedded.
var needsverinfo = function (ver) {
return ver > 6;
};

View File

@ -96,15 +96,15 @@ subtest 'list() and delete() tests | authorized user' => sub {
$t->get_ok( "//$userid:$password@/api/v1/acquisitions/vendors" =>
{ 'x-koha-embed' => 'aliases' } )
->status_is(200)
->json_has('/0/aliases', 'aliases are embeded')
->json_is('/0/aliases/0/alias' => 'alias 1', 'alias 1 is embeded')
->json_is('/0/aliases/1/alias' => 'alias 2', 'alias 2 is embeded');
->json_has('/0/aliases', 'aliases are embedded')
->json_is('/0/aliases/0/alias' => 'alias 1', 'alias 1 is embedded')
->json_is('/0/aliases/1/alias' => 'alias 2', 'alias 2 is embedded');
for ( 0 .. 1 ) {
$builder->build_object( { class => 'Koha::Subscriptions', value => { aqbooksellerid => $vendor->id } } );
}
$t->get_ok( "//$userid:$password@/api/v1/acquisitions/vendors" => { 'x-koha-embed' => 'subscriptions+count' } )
->status_is(200)->json_has( '/0/subscriptions_count', 'subscriptions_count is embeded' )
->status_is(200)->json_has( '/0/subscriptions_count', 'subscriptions_count is embedded' )
->json_is( '/0/subscriptions_count' => '2', 'subscription count is 2' );
$t->delete_ok( "//$userid:$password@/api/v1/acquisitions/vendors/" . $vendor->id )

View File

@ -81,7 +81,7 @@ subtest 'list() tests' => sub {
$t->get_ok("//$userid:$password@/api/v1/erm/counter_logs")->status_is(200)
->json_is( [ $counter_log->to_api, $another_counter_log->to_api, ] );
# Return 2 counter logs with patron embeded
# Return 2 counter logs with patron embedded
$t->get_ok( "//$userid:$password@/api/v1/erm/counter_logs/" => { 'x-koha-embed' => 'patron' } )->status_is(200)
->json_is(
[