-
Notifications
You must be signed in to change notification settings - Fork 3
Correct the deep copy and testing system #22
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: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -63,9 +63,9 @@ public function testNewInstance(): void | |
| ->getMock(); | ||
|
|
||
| $widget | ||
| ->expects(self::any()) | ||
| ->expects($this->never()) | ||
| ->method('import') | ||
| ->withConsecutive([Config::class, 'Config']); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. shouldn't this whole block rathe be:
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @discordier Same here. The import is never called. |
||
| ->with(Config::class, 'Config'); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When using never, "with" doesn't make sense at all. |
||
|
|
||
| self::assertEmpty($widget->getAttributes()); | ||
| } | ||
|
|
||
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.
While these are not wrong, they point to a bug in phpcq... Apparently the cli of gnupg uses a different key fingerprint hash len than the php pgp extension.
We should fix this upstream and then remove them here again.