mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Replace references of a11n with a12n where appropriate
Authorization => Authentication.
This commit is contained in:
parent
a2c2652695
commit
4959c2bdc6
13 changed files with 57 additions and 57 deletions
|
@ -21,7 +21,7 @@ class RemoteFilesystemTest extends \PHPUnit_Framework_TestCase
|
|||
$io = $this->getMock('Composer\IO\IOInterface');
|
||||
$io
|
||||
->expects($this->once())
|
||||
->method('hasAuthorization')
|
||||
->method('hasAuthentication')
|
||||
->will($this->returnValue(false))
|
||||
;
|
||||
|
||||
|
@ -42,12 +42,12 @@ class RemoteFilesystemTest extends \PHPUnit_Framework_TestCase
|
|||
$io = $this->getMock('Composer\IO\IOInterface');
|
||||
$io
|
||||
->expects($this->once())
|
||||
->method('hasAuthorization')
|
||||
->method('hasAuthentication')
|
||||
->will($this->returnValue(true))
|
||||
;
|
||||
$io
|
||||
->expects($this->once())
|
||||
->method('getAuthorization')
|
||||
->method('getAuthentication')
|
||||
->will($this->returnValue(array('username' => 'login', 'password' => 'password')))
|
||||
;
|
||||
|
||||
|
@ -67,7 +67,7 @@ class RemoteFilesystemTest extends \PHPUnit_Framework_TestCase
|
|||
$io = $this->getMock('Composer\IO\IOInterface');
|
||||
$io
|
||||
->expects($this->once())
|
||||
->method('hasAuthorization')
|
||||
->method('hasAuthentication')
|
||||
->will($this->returnValue(true))
|
||||
;
|
||||
|
||||
|
@ -84,7 +84,7 @@ class RemoteFilesystemTest extends \PHPUnit_Framework_TestCase
|
|||
$io = $this->getMock('Composer\IO\IOInterface');
|
||||
$io
|
||||
->expects($this->once())
|
||||
->method('hasAuthorization')
|
||||
->method('hasAuthentication')
|
||||
->will($this->returnValue(true))
|
||||
;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue