Changeset 14652 for events/phpframework

Show
Ignore:
Timestamp:
06/26/08 22:25:02 (6 years ago)
Author:
kumatch
Message:

Reviewd the specs.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • events/phpframework/piece_framework/trunk/specs/Phwittr/SpecCommon.php

    r14371 r14652  
    6464        $this->_foo->email    = 'foo@example.com'; 
    6565        $this->_foo->password = 'foopassword'; 
     66        $this->_foo->image = 'foo.jpg'; 
    6667        $this->_foo->key = sha1('fookey'); 
    6768        $this->_foo->flag = 1; 
     
    7172        $this->_bar->email    = 'bar@example.com'; 
    7273        $this->_bar->password = 'barpassword'; 
     74        $this->_foo->image = 'bar.jpg'; 
    7375        $this->_bar->key = sha1('barkey'); 
    7476        $this->_bar->flag = 1; 
     
    7880        $this->_baz->email    = 'baz@example.com'; 
    7981        $this->_baz->password = 'bazpassword'; 
     82        $this->_foo->image = 'baz.jpg'; 
    8083        $this->_baz->key = sha1('bazkey'); 
    8184        $this->_baz->flag = 1; 
    8285    } 
    8386 
    84     public function before() 
    85     { 
    86         Phwittr_Config::configurePieceORM('phwittr_test'); 
    87     } 
     87    public function before() { } 
    8888 
    89     public function after() 
     89    public function after() { } 
     90 
     91    public function afterAll() 
    9092    { 
    9193        $mapper = Piece_ORM::getMapper('Users'); 
     
    105107        $cache->clean(); 
    106108    } 
    107  
    108     public function afterAll() {} 
    109109 
    110110    /**#@-*/