1
0
Fork 0
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:
Igor Wiedler 2012-11-07 13:33:50 +01:00
parent a2c2652695
commit 4959c2bdc6
13 changed files with 57 additions and 57 deletions

View file

@ -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))
;