Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
0ff0f9d3
Commit
0ff0f9d3
authored
Jun 26, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missing files for #4071
parent
2457e247
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
11 deletions
+11
-11
_config.php
apps/advanced/backend/tests/_config.php
+1
-1
_config.php
apps/advanced/common/tests/_config.php
+1
-1
_config.php
apps/advanced/console/tests/_config.php
+1
-1
_config.php
apps/advanced/frontend/tests/_config.php
+1
-1
_config.php
apps/basic/tests/_config.php
+1
-1
Application.php
framework/base/Application.php
+4
-4
BaseMailerTest.php
tests/unit/framework/mail/BaseMailerTest.php
+2
-2
No files found.
apps/advanced/backend/tests/_config.php
View file @
0ff0f9d3
...
...
@@ -4,7 +4,7 @@
*/
return
[
'components'
=>
[
'mail'
=>
[
'mail
er
'
=>
[
'useFileTransport'
=>
true
,
],
'urlManager'
=>
[
...
...
apps/advanced/common/tests/_config.php
View file @
0ff0f9d3
...
...
@@ -4,7 +4,7 @@
*/
return
[
'components'
=>
[
'mail'
=>
[
'mail
er
'
=>
[
'useFileTransport'
=>
true
,
],
'urlManager'
=>
[
...
...
apps/advanced/console/tests/_config.php
View file @
0ff0f9d3
...
...
@@ -4,7 +4,7 @@
*/
return
[
'components'
=>
[
'mail'
=>
[
'mail
er
'
=>
[
'useFileTransport'
=>
true
,
],
'urlManager'
=>
[
...
...
apps/advanced/frontend/tests/_config.php
View file @
0ff0f9d3
...
...
@@ -4,7 +4,7 @@
*/
return
[
'components'
=>
[
'mail'
=>
[
'mail
er
'
=>
[
'useFileTransport'
=>
true
,
],
'urlManager'
=>
[
...
...
apps/basic/tests/_config.php
View file @
0ff0f9d3
...
...
@@ -4,7 +4,7 @@
*/
return
[
'components'
=>
[
'mail'
=>
[
'mail
er
'
=>
[
'useFileTransport'
=>
true
,
],
'urlManager'
=>
[
...
...
framework/base/Application.php
View file @
0ff0f9d3
...
...
@@ -24,7 +24,7 @@ use Yii;
* @property \yii\base\Formatter|\yii\i18n\Formatter $formatter The formatter application component. This property is read-only.
* @property \yii\i18n\I18N $i18n The internationalization component. This property is read-only.
* @property \yii\log\Dispatcher $log The log dispatcher component. This property is read-only.
* @property \yii\mail\MailerInterface $mail The mailer interface. This property is read-only.
* @property \yii\mail\MailerInterface $mail
er
The mailer interface. This property is read-only.
* @property \yii\web\Request|\yii\console\Request $request The request component. This property is read-only.
* @property \yii\web\Response|\yii\console\Response $response The response component. This property is
* read-only.
...
...
@@ -566,9 +566,9 @@ abstract class Application extends Module
* Returns the mailer component.
* @return \yii\mail\MailerInterface the mailer interface
*/
public
function
getMail
()
public
function
getMail
er
()
{
return
$this
->
get
(
'mail'
);
return
$this
->
get
(
'mail
er
'
);
}
/**
...
...
@@ -601,7 +601,7 @@ abstract class Application extends Module
'view'
=>
[
'class'
=>
'yii\web\View'
],
'formatter'
=>
[
'class'
=>
'yii\base\Formatter'
],
'i18n'
=>
[
'class'
=>
'yii\i18n\I18N'
],
'mail'
=>
[
'class'
=>
'yii\swiftmailer\Mailer'
],
'mail
er
'
=>
[
'class'
=>
'yii\swiftmailer\Mailer'
],
'urlManager'
=>
[
'class'
=>
'yii\web\UrlManager'
],
'assetManager'
=>
[
'class'
=>
'yii\web\AssetManager'
],
];
...
...
tests/unit/framework/mail/BaseMailerTest.php
View file @
0ff0f9d3
...
...
@@ -18,7 +18,7 @@ class BaseMailerTest extends TestCase
{
$this
->
mockApplication
([
'components'
=>
[
'mail'
=>
$this
->
createTestMailComponent
(),
'mail
er
'
=>
$this
->
createTestMailComponent
(),
]
]);
$filePath
=
$this
->
getTestFilePath
();
...
...
@@ -59,7 +59,7 @@ class BaseMailerTest extends TestCase
*/
protected
function
getTestMailComponent
()
{
return
Yii
::
$app
->
get
(
'mail'
);
return
Yii
::
$app
->
get
(
'mail
er
'
);
}
// Tests :
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment