Skip to content

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
@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