App aus Dateinamen entfernt

This commit is contained in:
2025-06-03 23:13:07 +02:00
parent a9203e515d
commit 17f2c9d9d1
17 changed files with 62 additions and 61 deletions

View File

@@ -10,18 +10,18 @@ use DBI;
use Data::Printer;
#my $dbh = DBI->connect('DBI:mysql:prod:ares', '', '') or die ('Fehler beim Verbinden mit der Datenbank');
my $t = Test::Mojo->new('XxxApp');
my $t = Test::Mojo->new('Xxx');
$t->app->log->level('info');
$t->app->ua->max_redirects(1);
subtest 'prod konfig test' => sub {
my $konf = do '../deb/prod/xxx_app.conf';
my $konf = do '../deb/prod/xxx.conf';
is exists $konf->{secret}, 1, 'secret = exists';
is $konf->{htlib}, "/var/local/htlib", 'htlib = /var/local/htlib';
is $konf->{hypnotoad}->{pid_file}, "/run/xxx.pid", 'hypnotoad->pid_file = /run/xxx.pid';
is $konf->{hypnotoad}->{pid_file}, "/run/steffen/xxx.pid", 'hypnotoad->pid_file = /run/steffen/xxx.pid';
is $konf->{hypnotoad}->{workers}, 4, 'hypnotoad->workers = 4';
is $konf->{hypnotoad}->{proxy}, 1, 'hypnotoad->proxy = 1';