test "PUT /rooms/:room_id/typing/:user_id sets typing notification",
   requires => [ local_user_and_room_fixtures() ],

   proves => [qw( can_set_room_typing )],

   do => sub {
      my ( $user, $room_id ) = @_;

      do_request_json_for( $user,
         method => "PUT",
         uri    => "/r0/rooms/$room_id/typing/:user_id",

         content => { typing => 1 },
      )->then( sub {
         my ( $body ) = @_;

         # Body is empty

         Future->done(1);
      });
   };

test "PUT /rooms/:room_id/typing/:user_id sets typing notification",
   requires => [ local_user_and_room_fixtures() ],

   proves => [qw( can_set_room_typing )],

   do => sub {
      my ( $user, $room_id ) = @_;

      do_request_json_for( $user,
         method => "PUT",
         uri    => "/r0/rooms/$room_id/typing/:user_id",

         content => { typing => JSON::true },
      )->then( sub {
         my ( $body ) = @_;

         # Body is empty

         Future->done(1);
      });
   };

Use true not 1 when setting typing
Use true not 1 when setting typing

Dendrite is more strict and follows the specificaiton. Make the tests
follow the spec.
