示例#1
0
 public function setUp()
 {
     parent::setUp();
     include __DIR__ . DIRECTORY_SEPARATOR . 'import.php';
     TestsHelper::dbFixture(USERS_TABLE, array(array('login' => self::loginFixture, 'email' => '*****@*****.**', 'password' => PasswordColumn::hash(self::passwordFixture)), array('login' => 'guest', 'email' => '*****@*****.**', 'password' => PasswordColumn::hash(self::passwordFixture))));
     ACL::create(self::testReadRight, '');
     ACL::create(self::testWriteRight, '');
     try {
         SimpleCache::clear(ACLUser::CacheKey);
     } catch (\Exception $e) {
     }
 }