diff --git a/test/append.t b/test/append.t index 517284d3c..a252d0de5 100755 --- a/test/append.t +++ b/test/append.t @@ -33,7 +33,8 @@ use Test::More tests => 4; # Create the rc file. if (open my $fh, '>', 'append.rc') { - print $fh "data.location=.\n"; + print $fh "data.location=.\n", + "confirmation=off\n"; close $fh; ok (-r 'append.rc', 'Created append.rc'); } diff --git a/test/bug.425.t b/test/bug.425.t index 15036e8a7..3a221fbaa 100755 --- a/test/bug.425.t +++ b/test/bug.425.t @@ -33,7 +33,8 @@ use Test::More tests => 8; # Create the rc file. if (open my $fh, '>', '425.rc') { - print $fh "data.location=."; + print $fh "data.location=.\n", + "confirmation=off\n"; close $fh; ok (-r '425.rc', 'Created 425.rc'); diff --git a/test/bug.434.t b/test/bug.434.t index 49199dc91..2e1a86c9f 100755 --- a/test/bug.434.t +++ b/test/bug.434.t @@ -33,7 +33,8 @@ use Test::More tests => 8; # Create the rc file. if (open my $fh, '>', 'bug.rc') { - print $fh "data.location=.\n"; + print $fh "data.location=.\n", + "confirmation=off\n"; close $fh; ok (-r 'bug.rc', 'Created bug.rc'); } @@ -43,7 +44,7 @@ if (open my $fh, '>', 'bug.rc') # Add a task that is waiting qx{../src/task rc:bug.rc add One wait:tomorrow}; my $output = qx{../src/task rc:bug.rc 1 done}; -like ($output, qr/Marked 1 task as done\./, 'Waiting task marked completed'); +like ($output, qr/Completed 1 task\./, 'Waiting task marked completed'); # Cleanup. unlink 'pending.data'; diff --git a/test/bug.438.t b/test/bug.438.t index 61b634a45..4ed3a618d 100755 --- a/test/bug.438.t +++ b/test/bug.438.t @@ -36,7 +36,8 @@ if (open my $fh, '>', 'bug.rc') print $fh "data.location=.\n", "dateformat=SNHDMY\n", "report.foo.columns=entry,start,end,description\n", - "report.foo.dateformat=SNHDMY\n"; + "report.foo.dateformat=SNHDMY\n", + "confirmation=off\n"; close $fh; ok (-r 'bug.rc', 'Created bug.rc'); } diff --git a/test/bug.440.t b/test/bug.440.t index d08b1aaca..7d8efd071 100755 --- a/test/bug.440.t +++ b/test/bug.440.t @@ -33,7 +33,8 @@ use Test::More tests => 11; # Create the rc file. if (open my $fh, '>', '440.rc') { - print $fh "data.location=."; + print $fh "data.location=.\n", + "confirmation=off\n"; close $fh; ok (-r '440.rc', 'Created 440.rc'); diff --git a/test/bug.480.t b/test/bug.480.t index 38dffe568..86377572b 100755 --- a/test/bug.480.t +++ b/test/bug.480.t @@ -34,7 +34,8 @@ use Test::More tests => 37; if (open my $fh, '>', 'bug.rc') { print $fh "data.location=.\n", - "defaultwidth=0\n"; + "defaultwidth=0\n", + "confirmation=off\n"; close $fh; ok (-r 'bug.rc', 'Created bug.rc'); diff --git a/test/bug.495.t b/test/bug.495.t index 005fc8971..040627ad8 100755 --- a/test/bug.495.t +++ b/test/bug.495.t @@ -33,7 +33,8 @@ use Test::More tests => 8; # Create the rc file. if (open my $fh, '>', 'bug.rc') { - print $fh "data.location=.\n"; + print $fh "data.location=.\n", + "confirmation=off\n"; close $fh; ok (-r 'bug.rc', 'Created bug.rc'); diff --git a/test/bug.605.t b/test/bug.605.t index e446cc9a5..658ffa772 100755 --- a/test/bug.605.t +++ b/test/bug.605.t @@ -33,7 +33,8 @@ use Test::More tests => 4; # Create the rc file. if (open my $fh, '>', 'bug.rc') { - print $fh "data.location=.\n"; + print $fh "data.location=.\n", + "confirmation=off\n"; close $fh; ok (-r 'bug.rc', 'Created bug.rc'); }