Lines 139-145
subtest 'move() tests' => sub {
Link Here
|
139 |
sub create_user_and_session { |
139 |
sub create_user_and_session { |
140 |
|
140 |
|
141 |
my $args = shift; |
141 |
my $args = shift; |
142 |
my $flags = ( $args->{authorized} ) ? $args->{authorized} : 0; |
142 |
my $flags = ( $args->{authorized} ) ? 2 ** 24 : 0; # stockrotation == 24 |
143 |
my $dbh = C4::Context->dbh; |
143 |
my $dbh = C4::Context->dbh; |
144 |
|
144 |
|
145 |
my $user = $builder->build( |
145 |
my $user = $builder->build( |
146 |
- |
|
|