/** * @covers MyPackage\BaseManager::update * @todo Implement testUpdate(). */ public function testUpdate() { $member1 = $this->createMember(['email' => '*****@*****.**', 'member_name' => 'a', 'password' => 'aaa', 'icon_url' => 'http://hoge', 'photo_url' => 'http://fyga', 'is_enabled' => 1]); $this->object->update('members', $member1->member_id, ['email' => '*****@*****.**', 'member_name' => 'a', 'password' => 'aaa', 'icon_url' => 'http://hoge', 'photo_url' => 'http://fyga', 'is_enabled' => 1]); $member = $this->object->select('members', $member1->member_id); $this->assertEquals($member->email, '*****@*****.**'); }