Skip to content

[Test] Strictness fixes - CiviUntTestBaseClass #26011

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

Merged
merged 1 commit into from
Apr 6, 2023

Conversation

eileenmcnaughton
Copy link
Contributor

Various fixes to typing, etc in test class

Two functions moved from the base class to the only class to call them

@civibot
Copy link

civibot bot commented Apr 5, 2023

(Standard links)

@civibot civibot bot added the master label Apr 5, 2023
/**
* Test civicrm note create() using example code.
*/
function testNoteCreateExample() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is actually AFTER the class closes...

*
* @return array
*/
public function noteCreate(int $contactID): array {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved to only class that calls it

@eileenmcnaughton
Copy link
Contributor Author

test this please

@eileenmcnaughton eileenmcnaughton merged commit b42e4fb into civicrm:master Apr 6, 2023
@eileenmcnaughton eileenmcnaughton deleted the strict_test branch April 6, 2023 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants