summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--t/40-response.t2
-rw-r--r--t/60-media.t2
2 files changed, 3 insertions, 1 deletions
diff --git a/t/40-response.t b/t/40-response.t
index 8bc3569..c401378 100644
--- a/t/40-response.t
+++ b/t/40-response.t
@@ -30,7 +30,7 @@ subtest 'Sync', {
subtest 'MediaStore', {
plan 4;
my %config = 'm.upload.size' => 5000;
- my $config-response = Matrix::Response::MediaStore::Config.new(|%config);
+ my $config-response = Matrix::Response::MediaStore::Config.new(%config);
isa-ok $config-response, Matrix::Response::MediaStore::Config;
can-ok $config-response, 'upload-size';
diff --git a/t/60-media.t b/t/60-media.t
index 5601d8a..2417cb1 100644
--- a/t/60-media.t
+++ b/t/60-media.t
@@ -7,6 +7,8 @@ my $path = $*TMPDIR.add('matrix-client-test');
LEAVE { unlink $path; }
$path.spurt("") unless $path.f;
+plan 3;
+
subtest 'Upload', {
plan 5;
# Mock the post-bin method of Matrix::Client::Requester.