aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@gmail.com>2021-01-11 22:20:09 -0300
committerMatias Linares <matiaslina@gmail.com>2021-01-11 22:20:09 -0300
commit7be9fa68bef82a7576344a6e8cc1e51154c6b3bf (patch)
treed60908a75c60b55d4ea90f6079c2459f9cf56be9 /t
parent9da9134f0b28c0e4c69537b54fd96dca3a66aaed (diff)
downloadperl6-matrix-client-7be9fa68bef82a7576344a6e8cc1e51154c6b3bf.tar.gz
Response & Exception refactor
Diffstat (limited to 't')
-rw-r--r--t/10-use.t2
-rw-r--r--t/60-media.t4
2 files changed, 3 insertions, 3 deletions
diff --git a/t/10-use.t b/t/10-use.t
index 1c6f97e..7bce568 100644
--- a/t/10-use.t
+++ b/t/10-use.t
@@ -4,7 +4,7 @@ use Test;
use-ok 'Matrix::Client';
use-ok 'Matrix::Client::Room';
use-ok 'Matrix::Client::Requester';
-use-ok 'Matrix::Response';
+use-ok 'Matrix::Client::Response';
use-ok 'Matrix::Client::Exception';
use-ok 'Matrix::Client::MediaStore';
diff --git a/t/60-media.t b/t/60-media.t
index 2417cb1..618e2c2 100644
--- a/t/60-media.t
+++ b/t/60-media.t
@@ -60,7 +60,7 @@ subtest 'config', {
}
}
- isa-ok $media.config, Matrix::Response::MediaStore::Config, 'Can load Associative';
+ isa-ok $media.config, Matrix::Client::Response::MediaStore::Config, 'Can load Associative';
is $media.config.upload-size, 5000, 'correct upload size';
my $empty-media = Matrix::Client::MediaStore.new(:home-server("1234")) but role {
@@ -69,7 +69,7 @@ subtest 'config', {
}
}
- isa-ok $empty-media.config, Matrix::Response::MediaStore::Config, 'Can load empty configuration';
+ isa-ok $empty-media.config, Matrix::Client::Response::MediaStore::Config, 'Can load empty configuration';
is $empty-media.config.upload-size, Int, 'Unknown upload-size';
nok $empty-media.config.upload-size.defined, 'upload-size not defined';