aboutsummaryrefslogtreecommitdiff
path: root/t/60-media.t
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@gmail.com>2021-01-11 22:48:16 -0300
committerMatias Linares <matiaslina@gmail.com>2021-01-11 22:48:16 -0300
commitf6397392c4fc88d1e9335bbbc4f91d8cb2f29368 (patch)
treedddb106193d48ca078946d2edb403ef75faca9dd /t/60-media.t
parent14551a46b61a78a55cacf282e0534a1938215467 (diff)
parent289165e26df8830a15b6df1a63321583a2e67499 (diff)
downloadperl6-matrix-client-f6397392c4fc88d1e9335bbbc4f91d8cb2f29368.tar.gz
Merge branch 'documentation'
Diffstat (limited to 't/60-media.t')
-rw-r--r--t/60-media.t4
1 files changed, 2 insertions, 2 deletions
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';