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
Fixed issue #18823: STATA Export fails with certain question types #3220
Fixed issue #18823: STATA Export fails with certain question types #3220
Conversation
Survey deleted to avoid error on another test.
Loading a different survey.
SonarCloud Quality Gate failed. |
|
||
public static function tearDownAfterClass(): void | ||
{ | ||
self::$testSurvey->delete(); |
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.
If i don't make error , it's already in parent
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.
Somehow, it wasn't working for us, so added it as a reassurance
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.
Strange :
LimeSurvey/tests/TestBaseClass.php
Line 133 in 804319a
if (self::$testSurvey) { |
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.
Have just updated it. Let me see how it goes now.
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.
Hope we don't leave the survey because it don't break Test.
Remind : when test abort/broke : survey was not deleted. Maybe we need to add a Dev solution for this ?
Just remove the 3 private var and i mrege https://sonarcloud.io/project/issues?id=LimeSurvey_LimeSurvey&pullRequest=3220&resolved=false&types=CODE_SMELL (after check the cancelled 7.4 push) |
All green |
Very basic sanity test added