コード例 #1
0
 /**
  *
  */
 public function testInsertLastUsedPasswords()
 {
     // Persist the user
     $this->user->save();
     $passwords = array('asjfdkj2i2', 'asdjfkjasfjl', 'asdfjkasjdfas');
     $result = $this->userMapper->insertLastUsedPasswords($this->user->getId(), $passwords);
     $this->assertNotNull($result);
     $this->assertEquals($passwords, $result['passwords']);
     return array($this->user->getId(), $passwords);
 }