예제 #1
0
파일: YiironTest.php 프로젝트: br0sk/yiiron
 /**
  * Test what happens if we try to connect with a faulty token
  * @expectedException CException
  */
 public function testConnectFaultyToken()
 {
     //Disconnect all services
     self::$iio->disconnect();
     //Try to connect with faulty project
     self::$iio->token = "faulty_token";
     self::$iio->connect();
     self::$iio->mqGetQueues();
 }