Skip to content

Commit

Permalink
test: remove allowText assertion on voice channel
Browse files Browse the repository at this point in the history
  • Loading branch information
SQKo committed Aug 9, 2022
1 parent c46177c commit 27608e5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/Parts/Channel/ChannelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public function testTextChannelDoesNotAllowVoice()
/**
* @covers \Discord\Parts\Channel\Channel::allowVoice
*/
public function testVoiceChannelDoesNotAllowText()
public function testVoiceChannelAllowVoice()
{
/**
* @var Channel
Expand All @@ -275,7 +275,6 @@ public function testVoiceChannelDoesNotAllowText()
return $channel->type == Channel::TYPE_VOICE;
})->first();

$this->assertFalse($vc->allowText());
$this->assertTrue($vc->allowVoice());
}
}

0 comments on commit 27608e5

Please sign in to comment.