Move the testapp out of the main directory and under t/, avoiding the need for a...
[catagits/Catalyst-Engine-STOMP.git] / testapp / lib / StompTestApp / Controller / TestController.pm
diff --git a/testapp/lib/StompTestApp/Controller/TestController.pm b/testapp/lib/StompTestApp/Controller/TestController.pm
deleted file mode 100644 (file)
index 9ae99d5..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-package # Hide from PAUSE
-  StompTestApp::Controller::TestController;
-use Moose;
-use namespace::autoclean;
-
-BEGIN { extends 'Catalyst::Controller::MessageDriven' };
-
-sub testaction : Local {
-    my ($self, $c, $request) = @_;
-
-    # Reply with a minimal response message
-    my $response = { type => 'testaction_response' };
-    $c->stash->{response} = $response;
-}
-
-sub badaction : Local {
-    my ($self, $c, $request) = @_;
-    die "oh noes";
-}
-
-sub ping : Local {
-    my ($self, $c, $request) = @_;
-    if ($request->{type} eq 'ping') {
-           $c->stash->{response} = { status => 'PONG' };
-           return;
-    }
-    die "not a ping request?";
-}
-
-1;