示例#1
0
 /**
  * Test the getter/setter for the secret key
  * @covers \DuoAuth\Integration::getSecret
  * @covers \DuoAuth\Integration::setSecret
  */
 public function testGetSetSecret()
 {
     $secret = '12345abcdef';
     $config = array();
     $int = new \DuoAuth\Integration($config);
     $int->setSecret($secret);
     $this->assertEquals($int->getSecret(), $secret);
 }