[libmojolicious-plugin-authentication-perl] 05/08: Drop test-mojo.patch, merged upstream.

gregor herrmann gregoa at debian.org
Fri Oct 18 17:32:26 UTC 2013


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libmojolicious-plugin-authentication-perl.

commit a55cf24227b25efbe89eeec205519f2766914962
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Oct 18 19:26:40 2013 +0200

    Drop test-mojo.patch, merged upstream.
---
 debian/patches/series          |    1 -
 debian/patches/test-mojo.patch |   62 ----------------------------------------
 2 files changed, 63 deletions(-)

diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index bbec80c..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-test-mojo.patch
diff --git a/debian/patches/test-mojo.patch b/debian/patches/test-mojo.patch
deleted file mode 100644
index 1855532..0000000
--- a/debian/patches/test-mojo.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-Origin: https://github.com/benvanstaveren/Mojolicious-Plugin-Authentication/pull/8
-Bug: https://github.com/benvanstaveren/Mojolicious-Plugin-Authentication/issues/7
-Bug-Debian: http://bugs.debuian.org/713251
-Forwarded: not-needed
-Reviewed-by: gregor herrmann <gregoa at debian.org>
-Last-Update: 2013-06-22
-
-From 48f3ce9d054fcbf2c7c7b6fbfa858f1fedab4c85 Mon Sep 17 00:00:00 2001
-From: Kartik Thakore <kthakore at aimed.cc>
-Date: Mon, 3 Jun 2013 10:49:12 -0400
-Subject: [PATCH] Fixed test case depreciated usage of post_form_ok
-
----
- t/01-functional.t      | 6 +++---
- t/02-functional_lazy.t | 4 ++--
- 2 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/t/01-functional.t b/t/01-functional.t
-index 7b0ae08..58b254a 100644
---- a/t/01-functional.t
-+++ b/t/01-functional.t
-@@ -82,16 +82,16 @@ $t->get_ok('/authonly')->status_is(200)->content_is('not authenticated');
- $t->get_ok('/condition/authonly')->status_is(404);
- 
- # let's try this
--$t->post_form_ok('/login', { u => 'fnark', p => 'fnork' })->status_is(200)->content_is('failed');
-+$t->post_ok('/login' => form =>  { u => 'fnark', p => 'fnork' })->status_is(200)->content_is('failed');
- $t->get_ok('/authonly')->status_is(200)->content_is('not authenticated');
- 
--$t->post_form_ok('/login', { u => 'foo', p => 'bar' })->status_is(200)->content_is('ok');
-+$t->post_ok('/login' => form => { u => 'foo', p => 'bar' })->status_is(200)->content_is('ok');
- $t->get_ok('/authonly')->status_is(200)->content_is('authenticated');
- $t->get_ok('/condition/authonly')->status_is(200)->content_is('authenticated condition');
- 
- $t->get_ok('/logout')->status_is(200)->content_is('logout');
- $t->get_ok('/authonly')->status_is(200)->content_is('not authenticated');
- 
--$t->post_form_ok('/login2', { u => 'foo', p => 'bar' })->status_is(200)->content_is('ok');
-+$t->post_ok('/login2' => form => { u => 'foo', p => 'bar' })->status_is(200)->content_is('ok');
- $t->get_ok('/authonly')->status_is(200)->content_is('authenticated');
- $t->get_ok('/condition/authonly')->status_is(200)->content_is('authenticated condition');
-diff --git a/t/02-functional_lazy.t b/t/02-functional_lazy.t
-index 4d3e7da..96a2977 100644
---- a/t/02-functional_lazy.t
-+++ b/t/02-functional_lazy.t
-@@ -90,11 +90,11 @@ $t->get_ok('/authonly/lazy')->status_is(200)
- $t->get_ok('/condition/authonly/lazy')->status_is(404);
- 
- # let's try this
--$t->post_form_ok( '/login', { u => 'fnark', p => 'fnork' } )->status_is(200)
-+$t->post_ok( '/login' => form => { u => 'fnark', p => 'fnork' } )->status_is(200)
-   ->content_is('failed');
- $t->get_ok('/authonly')->status_is(200)->content_is('not authenticated');
- 
--$t->post_form_ok( '/login', { u => 'foo', p => 'bar' } )->status_is(200)
-+$t->post_ok( '/login' => form => { u => 'foo', p => 'bar' } )->status_is(200)
-   ->content_is('ok');
- 
- # try original auth in lazy mode
--- 
-1.8.1.6
-

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmojolicious-plugin-authentication-perl.git



More information about the Pkg-perl-cvs-commits mailing list