From 43132b5c6b320821ac3cef6c49c181af34b8364b Mon Sep 17 00:00:00 2001 From: ZhouyihaiDing Date: Wed, 31 Jan 2018 15:05:52 -0800 Subject: php: remove unrelated code from SharedChannelClose test --- src/php/tests/unit_tests/ChannelTest.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/php/tests') diff --git a/src/php/tests/unit_tests/ChannelTest.php b/src/php/tests/unit_tests/ChannelTest.php index 13a770caff..5baff1fbd9 100644 --- a/src/php/tests/unit_tests/ChannelTest.php +++ b/src/php/tests/unit_tests/ChannelTest.php @@ -380,11 +380,6 @@ class ChannelTest extends PHPUnit_Framework_TestCase // close channel1 $this->channel1->close(); - // channel2 is now in SHUTDOWN state - $state = $this->channel2->getConnectivityState(); - $this->assertEquals(GRPC\CHANNEL_FATAL_FAILURE, $state); - - // calling it again will result in an exception because the // channel is already closed $state = $this->channel2->getConnectivityState(); } -- cgit v1.2.3