-
Notifications
You must be signed in to change notification settings - Fork 4
BaseMapperTest #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: FRAMEWORK_6_0
Are you sure you want to change the base?
Conversation
|
This PR should have the FRAMEWORK_6_0 branch as a target. Not master |
|
Can we please just remove the master branch of maintaina-com/Rdo? The
"default" branch should be configured to FRAMEWORK_6_0 - I am unsure why
we did not do this for this repo.
Am 17.05.2022 um 15:15 schrieb midahp:
This PR should have the FRAMEWORK_6_0 branch as a target. Not master
—
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAE56QBXN5HHXR7NMQQDF5DVKOLWFANCNFSM5WBOSURQ>.
You are receiving this because you are subscribed to this
thread.Message ID: ***@***.***>
--
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
***@***.***
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg /http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
|
|
Looking at some repos, it seems like we still have quite a few repos that have the master branch. All of which have the FRAMEWORK_6_0 as default though (including this one). |
ralflang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please run this through php-cs-fixer with PSR 12 rules and fix the mentioned issues (or what's left of them after CS fixing)
|
|
||
| } | ||
|
|
||
| public function testsetFactory(){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be testSetFactory, not testsetFactory
| public function testsetFactory(){ | ||
| $this->base=$this->createMock(BaseMapper::class); | ||
|
|
||
| $test=$this->getMockBuilder('Factory')->getMock(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spacing $test = $this
|
|
||
| //@return Factory The Factory | ||
|
|
||
| public function test__construct(){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename to testConstructor, if needed at all
| $adapter=$this->createMock(Horde_Db_Adapter::class); | ||
|
|
||
| $q=new Factory($adapter); | ||
| $c=$q->__construct($adapter); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks wrong. You don't call the constructor on an existing object.
|
|
||
| } | ||
| */ | ||
| public function testcreateClassDoesNotExist(){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
testCreate...
|
|
||
| } | ||
|
|
||
| public function testcreateClassWithoutAdapter(){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
testCreate...
setup Test