예제 #1
0
파일: suite.php 프로젝트: bmdevel/ezc
 public function __construct()
 {
     parent::__construct();
     $this->setName("AuthenticationDatabaseTiein");
     $this->addTest(ezcAuthenticationDatabaseTest::suite());
     $this->addTest(ezcAuthenticationOpenidDbStoreTest::suite());
 }
예제 #2
0
 public static function suite()
 {
     self::$associationArray = array('handle' => '{HMAC-SHA1}{465d66d3}{6K1aSw==}', 'secret' => 'W0ixM9SYQviSG9TF6HrnXaxHudQ=', 'issued' => time(), 'validity' => 1209600, 'type' => 'HMAC-SHA1');
     self::$association = new ezcAuthenticationOpenidAssociation('{HMAC-SHA1}{465d8eb9}{NQN84Q==}', 'foz3UXCxQJ5lKvau78Oqen9dTUc=', 1180536597, time() - 1180536597 + 604800, 'HMAC-SHA1');
     return new PHPUnit_Framework_TestSuite(__CLASS__);
 }