Updating test session classes to not use static methods.

This commit is contained in:
Mark Story 2010-09-06 01:11:54 -04:00
parent 474ace09c1
commit c8ad4f11eb
2 changed files with 12 additions and 12 deletions

View file

@ -5,27 +5,27 @@
*/
class TestAppLibSession implements CakeSessionHandlerInterface {
public static function open() {
public function open() {
return true;
}
public static function close() {
public function close() {
}
public static function read($id) {
public function read($id) {
}
public static function write($id, $data) {
public function write($id, $data) {
}
public static function destroy($id) {
public function destroy($id) {
}
public static function gc($expires = null) {
public function gc($expires = null) {
}
}

View file

@ -4,27 +4,27 @@
*/
class TestPluginSession implements CakeSessionHandlerInterface {
public static function open() {
public function open() {
return true;
}
public static function close() {
public function close() {
}
public static function read($id) {
public function read($id) {
}
public static function write($id, $data) {
public function write($id, $data) {
}
public static function destroy($id) {
public function destroy($id) {
}
public static function gc($expires = null) {
public function gc($expires = null) {
}
}