summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-03-16 17:58:58 +0100
committerJannis M. Hoffmann <jannis@fehcom.de>2023-03-16 17:58:58 +0100
commit0203fba6502916e4a6f63433fb7a26e8eff42c85 (patch)
tree6048e00f585d1f92ebf060e4b29412bbbc775e41
parent95c75ee74b2b48ee0bfe42fb5fa0f41cd3b1c193 (diff)
updated manifest and fixed tests
-rw-r--r--MANIFEST10
-rw-r--r--MANIFEST.SKIP2
-rw-r--r--lib/JWebmail/Model/ReadMails/MockJSON.pm2
-rw-r--r--lib/JWebmail/Model/ReadMails/MockMaildir.pm2
-rw-r--r--t/Extract.t2
5 files changed, 11 insertions, 7 deletions
diff --git a/MANIFEST b/MANIFEST
index 18478ef..037007e 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -24,8 +24,10 @@ lib/JWebmail/View/RenderMail.pm
lib/JWebmail/View/Webmail.pm
t/Webmail.t
+t/ViewWebmail.t
t/INI.t
-t/Helper.t
+t/Extract.t
+t/Pagination.t
t/I18N2.t
templates/webmail/readmail.html.ep
@@ -38,8 +40,9 @@ templates/displayheaders/_top_nav.html.ep
templates/displayheaders/_bot_nav.html.ep
templates/displayheaders/_folders.html.ep
templates/displayheaders/_main_table.html.ep
-templates/displayheaders/_pagination2.html.ep
templates/displayheaders/_pagination1.html.ep
+templates/displayheaders/_pagination2.html.ep
+templates/displayheaders/_pagination3.html.ep
templates/not_found.production.html.ep
templates/exception_.html.ep
@@ -52,9 +55,8 @@ CHANGES.md
LICENSE
actions
+jwebmail.service.tmpl
Makefile.PL
MANIFEST
MANIFEST.SKIP
-MYMETA.yml
-MYMETA.json
diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
index 92eef71..de06795 100644
--- a/MANIFEST.SKIP
+++ b/MANIFEST.SKIP
@@ -3,3 +3,5 @@ log/
.git/
.gitignore
.vscode/settings.json
+.mypy_cache/
+lang/
diff --git a/lib/JWebmail/Model/ReadMails/MockJSON.pm b/lib/JWebmail/Model/ReadMails/MockJSON.pm
index e429d53..64d6873 100644
--- a/lib/JWebmail/Model/ReadMails/MockJSON.pm
+++ b/lib/JWebmail/Model/ReadMails/MockJSON.pm
@@ -26,7 +26,7 @@ sub new { bless {}, shift }
sub _read_json_file {
my ($file_name) = @_;
- use constant PREFIX => 't/private/';
+ use constant PREFIX => 't/testdata/json/';
open my $body_file, '<', PREFIX . $file_name;
local $/;
diff --git a/lib/JWebmail/Model/ReadMails/MockMaildir.pm b/lib/JWebmail/Model/ReadMails/MockMaildir.pm
index de5c745..fc9cc4a 100644
--- a/lib/JWebmail/Model/ReadMails/MockMaildir.pm
+++ b/lib/JWebmail/Model/ReadMails/MockMaildir.pm
@@ -13,7 +13,7 @@ use constant {
};
has user => sub { $ENV{USER} };
-has maildir => 't/';
+has maildir => 't/testdata/';
has extractor => 'python';
our %EXTRACTORS = (
diff --git a/t/Extract.t b/t/Extract.t
index f78b154..f7c61ee 100644
--- a/t/Extract.t
+++ b/t/Extract.t
@@ -13,7 +13,7 @@ my $EXTRACT = {
python_mailbox => 'script/qmauth.py',
rust_maildir => 'bin/jwebmail-extract',
}->{python_mailbox};
-my $MAILDIR = 't/';
+my $MAILDIR = 't/testdata';
my $SYS_USER = $ENV{USER};
my $MAIL_USER = 'maildir';