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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
da07230a
Commit
da07230a
authored
Feb 24, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2535 from maximal/patch-1
Further coding standards fixes.
parents
413e71ff
5d14d788
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
2 deletions
+2
-2
_console.php
apps/basic/tests/acceptance/_console.php
+0
-0
_console.php
apps/basic/tests/functional/_console.php
+0
-0
_console.php
apps/basic/tests/unit/_console.php
+0
-0
ContactFormTest.php
apps/basic/tests/unit/models/ContactFormTest.php
+1
-1
main.php
apps/basic/views/layouts/main.php
+1
-1
No files found.
apps/basic/tests/acceptance/_console.php
View file @
da07230a
apps/basic/tests/functional/_console.php
View file @
da07230a
apps/basic/tests/unit/_console.php
View file @
da07230a
apps/basic/tests/unit/models/ContactFormTest.php
View file @
da07230a
...
...
@@ -42,7 +42,7 @@ class ContactFormTest extends TestCase
expect
(
'email file should exist'
,
file_exists
(
$this
->
getMessageFile
()))
->
true
();
});
$this
->
specify
(
'message should contain correct data'
,
function
()
use
(
$model
)
{
$this
->
specify
(
'message should contain correct data'
,
function
()
use
(
$model
)
{
$emailMessage
=
file_get_contents
(
$this
->
getMessageFile
());
expect
(
'email should contain user name'
,
$emailMessage
)
->
contains
(
$model
->
name
);
...
...
apps/basic/views/layouts/main.php
View file @
da07230a
...
...
@@ -40,7 +40,7 @@ AppAsset::register($this);
[
'label'
=>
'Contact'
,
'url'
=>
[
'/site/contact'
]],
Yii
::
$app
->
user
->
isGuest
?
[
'label'
=>
'Login'
,
'url'
=>
[
'/site/login'
]]
:
[
'label'
=>
'Logout ('
.
Yii
::
$app
->
user
->
identity
->
username
.
')'
,
[
'label'
=>
'Logout ('
.
Yii
::
$app
->
user
->
identity
->
username
.
')'
,
'url'
=>
[
'/site/logout'
],
'linkOptions'
=>
[
'data-method'
=>
'post'
]],
],
...
...
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