You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MDL-72643 landed this week which tidies up Moodle's display_size function, but objectfs expects the "old" format and so reports failures:
tool_objectfs\tests\object_status_testcase::test_object_status_add_barchart_method with data set Implement reporting #2 (0, 100, 'size', 0, '<div class="ofs-bar" style="w...')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'
tool_objectfs\tests\object_status_testcase::test_object_status_add_barchart_method with data set Implement CRUD #3 (0, 100, 'runningsize', 0, '<div class="ofs-bar" style="w...')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'
tool_objectfs\tests\object_status_testcase::test_object_status_add_barchart_method with data set Implement configuration #5 (0, 100, 'size', 2, '<div class="ofs-bar" style="w...')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'
tool_objectfs\tests\object_status_testcase::test_object_status_add_barchart_method with data set Implement cron task to delete data already in s3 #6 (0, 100, 'runningsize', 2, '<div class="ofs-bar" style="w...')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'
tool_objectfs\tests\object_status_testcase::test_object_status_add_barchart_method with data set Add file access log #8 (10, 100, 'size', 2, '<div class="ofs-bar" style="w...')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'
tool_objectfs\tests\object_status_testcase::test_object_status_add_barchart_method with data set Update config page #9 (10, 100, 'runningsize', 2, '<div class="ofs-bar" style="w...')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'
tool_objectfs\tests\object_status_testcase::test_object_status_add_barchart_method with data set Add setting to ignore backup files or manage them in a separate bucket #11 (12345678, 123456789, 'size', 0, '<div class="ofs-bar" style="w...')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'
tool_objectfs\tests\object_status_testcase::test_object_status_add_barchart_method with data set Calculate report in cron task #12 (12345678, 123456789, 'runningsize', 2, '<div class="ofs-bar" style="w...')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'
tool_objectfs\tests\object_status_testcase::test_object_status_get_size_range_from_logsize with data set Implement cron task to push data to s3 #1 ('10', '1KB - 2KB')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'1KB - 2KB'
+'1.0 KB - 2.0 KB'
tool_objectfs\tests\object_status_testcase::test_object_status_get_size_range_from_logsize with data set Implement reporting #2 ('11', '2KB - 4KB')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'2KB - 4KB'
+'2.0 KB - 4.0 KB'
tool_objectfs\tests\object_status_testcase::test_object_status_get_size_range_from_logsize with data set Implement CRUD #3 ('20', '1MB - 2MB')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'1MB - 2MB'
+'1.0 MB - 2.0 MB'
tool_objectfs\tests\object_status_testcase::test_object_status_get_size_range_from_logsize with data set Implement metrics #4 ('21', '2MB - 4MB')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'2MB - 4MB'
+'2.0 MB - 4.0 MB'
tool_objectfs\tests\object_status_testcase::test_object_status_get_size_range_from_logsize with data set Implement configuration #5 ('30', '1GB - 2GB')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'1GB - 2GB'
+'1.0 GB - 2.0 GB'
tool_objectfs\tests\object_status_testcase::test_object_status_get_size_range_from_logsize with data set Implement cron task to delete data already in s3 #6 ('31', '2GB - 4GB')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'2GB - 4GB'
+'2.0 GB - 4.0 GB'
MDL-72643 landed this week which tidies up Moodle's display_size function, but objectfs expects the "old" format and so reports failures:
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'
+'
/var/www/html/admin/tool/objectfs/tests/object_status_test.php:208
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'
+'
/var/www/html/admin/tool/objectfs/tests/object_status_test.php:208
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'
+'
/var/www/html/admin/tool/objectfs/tests/object_status_test.php:208
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'
+'
/var/www/html/admin/tool/objectfs/tests/object_status_test.php:208
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'
+'
/var/www/html/admin/tool/objectfs/tests/object_status_test.php:208
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'
+'
/var/www/html/admin/tool/objectfs/tests/object_status_test.php:208
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'
+'
/var/www/html/admin/tool/objectfs/tests/object_status_test.php:208
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'
+'
/var/www/html/admin/tool/objectfs/tests/object_status_test.php:208
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'1KB - 2KB'
+'1.0 KB - 2.0 KB'
/var/www/html/admin/tool/objectfs/tests/object_status_test.php:239
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'2KB - 4KB'
+'2.0 KB - 4.0 KB'
/var/www/html/admin/tool/objectfs/tests/object_status_test.php:239
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'1MB - 2MB'
+'1.0 MB - 2.0 MB'
/var/www/html/admin/tool/objectfs/tests/object_status_test.php:239
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'2MB - 4MB'
+'2.0 MB - 4.0 MB'
/var/www/html/admin/tool/objectfs/tests/object_status_test.php:239
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'1GB - 2GB'
+'1.0 GB - 2.0 GB'
/var/www/html/admin/tool/objectfs/tests/object_status_test.php:239
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'2GB - 4GB'
+'2.0 GB - 4.0 GB'
/var/www/html/admin/tool/objectfs/tests/object_status_test.php:239
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
The text was updated successfully, but these errors were encountered: