示例#1
0
 function testDataStorage()
 {
     Raxan::removeData('id1');
     session_destroy();
     $this->title('Data Storage');
     $sessid = '1234567';
     $store = new RaxanSessionStorage($sessid);
     $store1 = Raxan::dataStorage($store);
     $this->compare($store, $store1, 'Set Data Storage');
     $id = Raxan::dataStorageId();
     $this->ok($id == $sessid, 'Data Storage Id');
 }