From 346f058b08e3c0b911243f59996cd0ef635ae211 Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Mon, 23 Nov 2020 19:52:11 -0300 Subject: Fix tests --- t/40-response.t | 2 +- t/60-media.t | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 't') 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. -- cgit v1.2.3-54-g00ecf