summaryrefslogtreecommitdiff
path: root/t/30-room.t
diff options
context:
space:
mode:
Diffstat (limited to 't/30-room.t')
-rw-r--r--t/30-room.t12
1 files changed, 4 insertions, 8 deletions
diff --git a/t/30-room.t b/t/30-room.t
index e12a17c..56321a0 100644
--- a/t/30-room.t
+++ b/t/30-room.t
@@ -80,15 +80,11 @@ subtest 'name' => {
my $name = "Name room test";
my $test-room = $client.create-room:
- :creation_content({
- "m.federate" => False
- });
+ :creation_content({
+ "m.federate" => False
+ });
- throws-like {
- $test-room.name()
- }, X::Matrix::Response,
- message => /M_NOT_FOUND/,
- '.name without name gives event not found';
+ is $test-room.name(), '';
lives-ok {
$test-room.send-state('m.room.name', :name($name))