projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d26aa7
)
Bug 15774: (follow-up) Fix TestBuilder.t so it doesn't catch wrong classes
author
Tomas Cohen Arazi
<tomascohen@theke.io>
Sat, 9 Mar 2019 08:41:45 +0000
(
05:41
-0300)
committer
Tomas Cohen Arazi
<tomascohen@theke.io>
Sat, 9 Mar 2019 08:41:45 +0000
(
05:41
-0300)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/TestBuilder.t
patch
|
blob
|
history
diff --git
a/t/db_dependent/TestBuilder.t
b/t/db_dependent/TestBuilder.t
index
e69c194
..
3b6aa20
100644
(file)
--- a/
t/db_dependent/TestBuilder.t
+++ b/
t/db_dependent/TestBuilder.t
@@
-380,7
+380,7
@@
subtest 'build_object() tests' => sub {
subtest 'Test all classes' => sub {
my $Koha_modules_dir = dirname(__FILE__) . '/../../Koha';
- my @koha_object_based_modules = `/bin/grep -rl
'
sub object_class' $Koha_modules_dir`;
+ my @koha_object_based_modules = `/bin/grep -rl
-e '^
sub object_class' $Koha_modules_dir`;
my @source_in_failure;
for my $module_filepath ( @koha_object_based_modules ) {
chomp $module_filepath;