php: remove unrelated code from SharedChannelClose test

pull/14262/head
ZhouyihaiDing 7 years ago
parent f4a94b6126
commit 43132b5c6b
  1. 5
      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();
}

Loading…
Cancel
Save