aboutsummaryrefslogtreecommitdiffstats
path: root/t/MockQuery.pm
diff options
context:
space:
mode:
authorlouise <louise>2009-10-21 15:57:08 +0000
committerlouise <louise>2009-10-21 15:57:08 +0000
commitc40e253074c8ce38ae2715979effd86a22562f1a (patch)
treea98578fa7622800595ec21ce2822250c037544bb /t/MockQuery.pm
parenta437f7f497e5970f92aa3d2fe7a1f6b3a4755c8a (diff)
Moving MockQuery to lib dir where it can be accessed by other app tests
Diffstat (limited to 't/MockQuery.pm')
-rw-r--r--t/MockQuery.pm34
1 files changed, 0 insertions, 34 deletions
diff --git a/t/MockQuery.pm b/t/MockQuery.pm
deleted file mode 100644
index f01aad5ac..000000000
--- a/t/MockQuery.pm
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/usr/bin/perl -w
-#
-# MockQuery.pm:
-# Mock query to support tests for the Page functions
-#
-# Copyright (c) 2009 UK Citizens Online Democracy. All rights reserved.
-# Email: louise@mysociety.org; WWW: http://www.mysociety.org/
-#
-# $Id: MockQuery.pm,v 1.2 2009-09-15 13:55:17 louise Exp $
-#
-
-
-package MockQuery;
-
-sub new {
- my ($class, $site, $params) = @_;
- my $self = {
- site => $site,
- params => $params,
- };
- bless $self, $class;
- return $self;
-}
-
-sub header {
-
-}
-
-sub param {
- my ($self, $key) = @_;
- return $self->{params}->{$key};
-}
-
-1;