projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 11897: Use 'stockrotation' permission for the endpoint
[koha.git]
/
t
/
db_dependent
/
api
/
v1
/
stockrotationstage.t
diff --git
a/t/db_dependent/api/v1/stockrotationstage.t
b/t/db_dependent/api/v1/stockrotationstage.t
index
c76e9b1
..
23da8eb
100644
(file)
--- a/
t/db_dependent/api/v1/stockrotationstage.t
+++ b/
t/db_dependent/api/v1/stockrotationstage.t
@@
-139,7
+139,7
@@
subtest 'move() tests' => sub {
sub create_user_and_session {
my $args = shift;
- my $flags = ( $args->{authorized} ) ?
$args->{authorized} : 0;
+ my $flags = ( $args->{authorized} ) ?
2 ** 24 : 0; # stockrotation == 24
my $dbh = C4::Context->dbh;
my $user = $builder->build(