[Koha-bugs] [Bug 29523] Add a way to prevent embedding objects that should not be allowed
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Apr 28 11:33:32 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29523
--- Comment #79 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
+ subtest 'accessible usage tests' => sub {
+
+ plan tests => 2;
+
+ $schema->storage->txn_begin;
+
+ my $library_1 = $builder->build_object( { class => 'Koha::Libraries' }
);
+ my $library_2 = $builder->build_object( { class => 'Koha::Libraries' }
);
+
+ my $patron = $builder->build_object(
+ {
+ class => 'Koha::Patrons',
+ value => {
+ flags => 2**2, # only has catalogue
permissions
+ branchcode => $library_1->id
+ }
+ }
+ );
+
There is no end subtest here
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list