Skip to content
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

Fix unit tests to enable to run NullCoalescingTest.php and TernaryTest.php on Windows #1059

Merged

Conversation

matsuo
Copy link
Contributor

@matsuo matsuo commented Aug 22, 2024

This PR fixes unit tests to enable to run NullCoalescingTest.php and TernaryTest.php on Windows. (Related PR: #1046 )

Current Test Results:
(from #1046 (comment) )

45) NullCoalescingTest::testUndefined
chdir(): No such file or directory (errno 2)

D:\a\smarty\smarty\tests\PHPUnit_Smarty.php:107
D:\a\smarty\smarty\tests\UnitTests\TemplateSource\NullCoalescingTest.php:7

46) NullCoalescingTest::testOther with data set #0 (null, 'undefined')
chdir(): No such file or directory (errno 2)

D:\a\smarty\smarty\tests\PHPUnit_Smarty.php:107
D:\a\smarty\smarty\tests\UnitTests\TemplateSource\NullCoalescingTest.php:7

47) NullCoalescingTest::testOther with data set #1 ('blah', 'blah')
chdir(): No such file or directory (errno 2)

D:\a\smarty\smarty\tests\PHPUnit_Smarty.php:107
D:\a\smarty\smarty\tests\UnitTests\TemplateSource\NullCoalescingTest.php:7

48) NullCoalescingTest::testOther with data set #2 ('', '')
chdir(): No such file or directory (errno 2)

D:\a\smarty\smarty\tests\PHPUnit_Smarty.php:107
D:\a\smarty\smarty\tests\UnitTests\TemplateSource\NullCoalescingTest.php:7

49) NullCoalescingTest::testOther with data set #3 (false, false)
chdir(): No such file or directory (errno 2)

D:\a\smarty\smarty\tests\PHPUnit_Smarty.php:107
D:\a\smarty\smarty\tests\UnitTests\TemplateSource\NullCoalescingTest.php:7

50) TernaryTest::testTernaryTrue
chdir(): No such file or directory (errno 2)

D:\a\smarty\smarty\tests\PHPUnit_Smarty.php:107
D:\a\smarty\smarty\tests\UnitTests\TemplateSource\TernaryTest.php:7

51) TernaryTest::testTernaryFalse
chdir(): No such file or directory (errno 2)

D:\a\smarty\smarty\tests\PHPUnit_Smarty.php:107
D:\a\smarty\smarty\tests\UnitTests\TemplateSource\TernaryTest.php:7

52) TernaryTest::testShorthandTernaryTrue
chdir(): No such file or directory (errno 2)

D:\a\smarty\smarty\tests\PHPUnit_Smarty.php:107
D:\a\smarty\smarty\tests\UnitTests\TemplateSource\TernaryTest.php:7

53) TernaryTest::testShorthandTernaryFalse
chdir(): No such file or directory (errno 2)

D:\a\smarty\smarty\tests\PHPUnit_Smarty.php:107
D:\a\smarty\smarty\tests\UnitTests\TemplateSource\TernaryTest.php:7

@wisskid wisskid merged commit c8f1853 into smarty-php:master Aug 28, 2024
11 checks passed
@matsuo matsuo deleted the modify-null-coalescing-test-and-ternary-test branch August 28, 2024 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants