Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.8.7, 2.9.1
-
Component/s: Messages, Unit tests
-
Labels:
-
Environment:PHP 5.6.5
PostgreSQL 9.3.
Windows 10
-
Testing Instructions:
-
Workaround:
-
Affected Branches:MOODLE_28_STABLE, MOODLE_29_STABLE
-
Fixed Branches:MOODLE_28_STABLE, MOODLE_29_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
-
Sprint:Team ';drop tables Sprint 10
-
Issue size:Small
Description
On running the unit tests on the latest 2.8.7+ (Build: 20150730) - from the zip download - I'm seeing a single failure for core_messagelib_testcase::test_message_attachment_send:
There was 1 failure:
|
|
1) core_messagelib_testcase::test_message_attachment_send
|
Failed asserting that false is true.
|
|
C:\Users\vas07101\dev\htdocs\moodle\lib\tests\messagelib_test.php:859
|
C:\Users\vas07101\dev\htdocs\moodle\lib\phpunit\classes\advanced_testcase.php:80
|
|
To re-run:
|
C:\Users\vas07101\dev\htdocs\moodle\vendor\bin\/../phpunit/phpunit/composer/bin/phpunit core_messagelib_testcase lib\tests\messagelib_test.php
|
|
FAILURES!
|
Tests: 1, Assertions: 2, Failures: 1.
|
It turns out that this was because the patch for MDL-49787 broke the ability to send attachments with email_to_user() in Windows.
Attachments
Issue Links
- is a regression caused by
-
MDL-49787 Email attachements with symlinked temp dir
-
- Closed
-