aboutsummaryrefslogtreecommitdiff
path: root/t/30-room.t
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@gmail.com>2021-03-28 19:14:56 -0300
committerMatias Linares <matiaslina@gmail.com>2021-03-28 19:17:30 -0300
commitf3f846be62f3715ad2a716043c8e92806c2472fa (patch)
tree20761f1c0db6cf6b05c9944ec239f3f8711e831d /t/30-room.t
parentf6397392c4fc88d1e9335bbbc4f91d8cb2f29368 (diff)
downloadperl6-matrix-client-f3f846be62f3715ad2a716043c8e92806c2472fa.tar.gz
Add read-markers api support
Diffstat (limited to 't/30-room.t')
-rw-r--r--t/30-room.t9
1 files changed, 8 insertions, 1 deletions
diff --git a/t/30-room.t b/t/30-room.t
index 9cec207..b9f7cfd 100644
--- a/t/30-room.t
+++ b/t/30-room.t
@@ -1,7 +1,14 @@
use lib 'lib';
use Test;
use Matrix::Client;
-plan 10;
+plan 12;
+
+use-ok 'Matrix::Client::Room';
+
+my $room = Matrix::Client::Room.new(:home-server<test>, :id<!something>);
+can-ok $room, 'read-marker';
+
+# Integrations tests;
unless %*ENV<MATRIX_CLIENT_TEST_SERVER> {
skip-rest 'No test server setted';