This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Revert "Merge branch 'superdweebie-rand-bugfix'""
This reverts commit b0ae4689135d62555cf9bbe55cdd7dddcd2d8f05 in order to allow forward-porting fixes to develop. Conflicts: library/Zend/ModuleManager/ModuleEvent.php
- Loading branch information
84 parents
8918c09
+
1528233
+
a6f33f5
+
aee8483
+
9b1ad90
+
92baf0c
+
782d34b
+
da3b5e2
+
8c5486e
+
08b5959
+
29cb9fc
+
a79175d
+
186ebc9
+
3af3a6e
+
3d17935
+
df05eb8
+
e421e0f
+
00bb39e
+
78b260b
+
a6c654b
+
6dcb060
+
ba14e90
+
dc7d636
+
06375a2
+
53fdaa9
+
80ccc9b
+
fa80520
+
4009aca
+
ad280cb
+
b0d3db4
+
9b28224
+
49a871c
+
4145ab4
+
ff8e603
+
abd0527
+
9dc2f89
+
20317fc
+
da6fd5b
+
1702218
+
487a6e9
+
6051222
+
80b8984
+
a1a90b3
+
1d03186
+
b2e7f7a
+
a185b42
+
533f958
+
cfc5d6f
+
da7d3f0
+
d11e4f8
+
598cfab
+
0955e03
+
8e03b2a
+
c8941af
+
1589b26
+
6e2a869
+
3c9218d
+
fed889d
+
3355853
+
89e0cd8
+
e795f2b
+
16438c0
+
c93bd38
+
ac50ffc
+
a9bc506
+
eef23f4
+
fcda91a
+
056a288
+
607ac6f
+
30f7828
+
9d2a936
+
3747749
+
17325fb
+
4e43d4b
+
0dcaf98
+
3f8e8ac
+
32407f8
+
6e0bb7b
+
c865c5f
+
95c45dc
+
4829cce
+
89ebbef
+
99e35fb
+
7636944
commit 53a73c5
Showing
2 changed files
with
81 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?php | ||
/** | ||
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* @link http://github.com/zendframework/zf2 for the canonical source repository | ||
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
* @package Zend_Authentication | ||
*/ | ||
|
||
namespace ZendTest\Authentication\Adapter; | ||
|
||
use Zend\Authentication\Adapter; | ||
|
||
class HttpTest extends \PHPUnit_Framework_TestCase | ||
{ | ||
/** | ||
* @var Wrapper | ||
*/ | ||
protected $_wrapper; | ||
|
||
public function setUp() | ||
{ | ||
$config = array( | ||
'accept_schemes' => 'basic', | ||
'realm' => 'testing', | ||
); | ||
|
||
$this->_wrapper = new Wrapper($config); | ||
} | ||
|
||
public function tearDown() | ||
{ | ||
unset($this->_wrapper); | ||
} | ||
|
||
/** | ||
* @expectedException PHPUnit_Framework_Error_Deprecated | ||
*/ | ||
public function testProtectedMethodChallengeClientTriggersErrorDeprecated() | ||
{ | ||
$this->_wrapper->_challengeClient(); | ||
} | ||
} | ||
|
||
class Wrapper extends Adapter\Http | ||
{ | ||
public function __call($method, $args) | ||
{ | ||
return call_user_func_array(array($this, $method), $args); | ||
} | ||
} |