The variable is assigned to other variable before check if the variable is defined or not, which gives an error when executing tests.
The condition to check if the variable exists should be before the variable assignation.
The variable is assigned to other variable before check if the variable is defined or not, which gives an error when executing tests.
The condition to check if the variable exists should be before the variable assignation.