Skip to main content
Homepage
Explore
Search or go to…
/
Sign in
Explore
Primary navigation
Project
M
Magento
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
KIII-12
Magento
Commits
df655a66
Commit
df655a66
authored
Mar 15, 2015
by
vpaladiychuk
Browse files
Options
Downloads
Patches
Plain Diff
MAGETWO-34878: PR and cleanup
parent
e8819b83
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/code/Magento/Customer/Test/Unit/Controller/Ajax/LoginTest.php
+1
-1
1 addition, 1 deletion
.../Magento/Customer/Test/Unit/Controller/Ajax/LoginTest.php
lib/internal/Magento/Framework/Test/Unit/PhraseTest.php
+1
-1
1 addition, 1 deletion
lib/internal/Magento/Framework/Test/Unit/PhraseTest.php
with
2 additions
and
2 deletions
app/code/Magento/Customer/Test/Unit/Controller/Ajax/LoginTest.php
100644 → 100755
+
1
−
1
View file @
df655a66
...
@@ -238,7 +238,7 @@ class LoginTest extends \PHPUnit_Framework_TestCase
...
@@ -238,7 +238,7 @@ class LoginTest extends \PHPUnit_Framework_TestCase
->
expects
(
$this
->
any
())
->
expects
(
$this
->
any
())
->
method
(
'authenticate'
)
->
method
(
'authenticate'
)
->
with
(
'invalid@example.com'
,
'invalid'
)
->
with
(
'invalid@example.com'
,
'invalid'
)
->
willThrowException
(
new
InvalidEmailOrPasswordException
(
__
(
'Invalid login or password.'
,
[]
)));
->
willThrowException
(
new
InvalidEmailOrPasswordException
(
__
(
'Invalid login or password.'
)));
$this
->
customerSession
->
expects
(
$this
->
never
())
$this
->
customerSession
->
expects
(
$this
->
never
())
->
method
(
'setCustomerDataAsLoggedIn'
)
->
method
(
'setCustomerDataAsLoggedIn'
)
...
...
...
...
This diff is collapsed.
Click to expand it.
lib/internal/Magento/Framework/Test/Unit/PhraseTest.php
+
1
−
1
View file @
df655a66
...
@@ -34,7 +34,7 @@ class PhraseTest extends \PHPUnit_Framework_TestCase
...
@@ -34,7 +34,7 @@ class PhraseTest extends \PHPUnit_Framework_TestCase
$text
=
'some text'
;
$text
=
'some text'
;
$arguments
=
[
'arg1'
,
'arg2'
];
$arguments
=
[
'arg1'
,
'arg2'
];
$result
=
'rendered text'
;
$result
=
'rendered text'
;
$phrase
=
new
Phrase
(
$text
,
$arguments
);
$phrase
=
new
\Magento\Framework\
Phrase
(
$text
,
$arguments
);
Phrase
::
setRenderer
(
$this
->
rendererMock
);
Phrase
::
setRenderer
(
$this
->
rendererMock
);
$this
->
rendererMock
->
expects
(
$this
->
once
())
$this
->
rendererMock
->
expects
(
$this
->
once
())
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment