yoesoff

errortestlms

Dec 29th, 2016
490
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.88 KB | None | 0 0
  1. 29 Desember 2016
  2. ---------------------------------------------------------------------------------------------------------------------
  3. - LMS-563 (My course page)
  4. - Error di Test setelah Merged database dan penyesuaian sementara supaya passed (vendor/bin/phpunit --debug --stop-on-error):
  5.     +---ApiKlassTest::testPublishSuccess
  6.     -----+ Error Duplicate klass ID:
  7.     ------ di ModelFactory.php $faker->unique()->randomDigit rubah jadi $faker->unique()->numberBetween($min = 1000, $max = 2000)
  8.     +---SectionUnitContentTest::testResponseStoreSuccess
  9.     -----+ Error Duplicate Section ID:
  10.     ------ di ModelFactory.php $faker->unique()->randomDigit rubah jadi $faker->unique()->numberBetween($min = 1000, $max = 2000)
  11.     -----+ SectionUnitContentTest::testResponseDestroySuccess
  12.     ------ di SectionUnitContentTest ada kesalahan test yang harus di perbaiki (tadi sempat dibahas dengan iman)
  13.     +---UserTest::testResponseStoreEmailFailed
  14.     -----+ Error Duplicate User ID:
  15.     ------ di ModelFactory.php di App\User tambahkan 'id' => $faker->unique()->numberBetween($min = 1000, $max = 2000),
  16.     +---StudentTest::testResponseStoreEmailFailed
  17.     -----+ kadang error dan mengatakan ducplicate id/ kadang tidak/ mungkin yang lain jg ada cuma kebetulan tidak duplicate
  18.     -----* misal unittest A bikin student ID 1001 bisa jadi unittest B bikin juga student dengan id 1001 karena udah beda instance
  19.     ------ Untuk menghindari kadang2 error yang sering saya tambahkan
  20.     ------ 'id' => $this->faker->unique()->numberBetween($min = 3000, $max = 3500) di makenya func: testResponseStoreEmailFailed
  21.     +---AdminDiscussionTest::testDeleteDiscussionSuccess
  22.     -----+ Could not find a form that has submit button
  23.     ------ di comments testnya (html issue)
  24.     +---ContentTest::testDeleteSuccess
  25.     -----+ could not find a form that has submit button [delete_104].
  26.     ------ di comments testnya (html issue)
  27.     +---AdminUserTest::testIndexSuccess
  28.     -----+ kadang ID usernya duplicate dan error (faker beda instance mnggenerate ID/int yang sama di table yang sama)
  29.     +---ContentTest::testManageAssetsWithTopicAndObjectiveSuccess
  30.     -----+ InvalidArgumentException: Could not find a link with a body, name, or ID attribute of [edit_117].
  31.     ------ di comments testnya (html issue)
  32.     +---UserTest::testResponseUpdateEmailFailed
  33.     -----+ Error Duplicate user ID:
  34.     ------ Untuk menghindari kadang2 error yang sering saya tambahkan
  35.     ------ 'id' => $this->faker->unique()->numberBetween($min = 3000, $max = 3500) di makenya func: testResponseUpdateEmailFailed
  36.     +---ContentTest::testCreateWithoutDescriptionSuccess
  37.     -----  di comments testnya (html issue)
  38.     +---ContentTest::testCreateContentWithObjectiveSuccess
  39.     -----------------------------------------------------------------
  40.     dan lain2nya:
  41.     E
  42.     Starting test 'ContentTest::testCreateWithoutDescriptionSuccess'.
  43.     .
  44.     Starting test 'ContentTest::testCreateContentWithTopicSuccess'.
  45.     F
  46.     Starting test 'ContentTest::testCreateContentWithObjectiveSuccess'.
  47.     F
  48.     Starting test 'ContentTest::testCreateContentWithoutTopicAndObjectiveSuccess'.
  49.     F
  50.     Starting test 'CourseTest::testIndexCourse'.
  51.     .
  52.     Starting test 'CourseTest::testIndexOnlineCourse'.
  53.     F
  54.     Starting test 'CourseTest::testEditCourseSuccess'.
  55.     .
  56.     Starting test 'CourseTest::testRedirectionUpdateCourseSuccess'.
  57.     E
  58.     Starting test 'CourseTest::testRedirectionUpdateCourseFailed'.
  59.     E
  60.     Starting test 'DashboardTest::testLatestNewsNotFromAjax'.
  61.     E
  62.     Starting test 'LearningActivityTest::testNoUnit'.
  63.     E
  64.     Starting test 'ObjectiveTest::testIndexObjectiveSuccess'.
  65.     E
  66.     Starting test 'DiscussionTest::testDiscussionNotAssignedShowEmptyPostMessage'.
  67.     E
  68.     Starting test 'QuizTest::testEditPageSuccess'.
  69.     E
  70.     Starting test 'SectionTemplateTest::testIndexSectionTemplate'.
  71.     E
  72.     Starting test 'DiscussionTest::testDiscussionNotAssignedShowEmptyPostMessage'.
  73.     E
  74.     Starting test 'QuizTest::testEditPageSuccess'.
  75.     E
  76.     Starting test 'SectionTemplateTest::testIndexSectionTemplate'.
  77.     E
  78.     Starting test 'SectionUnitDiscussionPostTest::testPageManageUnitDiscussionPostEmpty'.
  79.     E
  80.     Starting test 'SectionUnitDiscussionPostTest::testPageCreate'.
  81.     E
  82.     Starting test 'SectionUnitDiscussionPostTest::testStoreSuccess'.
  83.     E
  84.     Starting test 'SectionUnitDiscussionPostTest::testStoreValidationFailed'.
  85.     E
  86.     Starting test 'SectionUnitDiscussionPostTest::testPageEdit'.
  87.     E
  88.     Starting test 'SectionUnitDiscussionPostTest::testUpdateSuccess'.
  89.     E
  90.     Starting test 'SectionUnitDiscussionPostTest::testUpdateValidationFailed'.
  91.     E
  92.     Starting test 'SectionUnitDiscussionPostTest::testDestroySuccess'.
  93.     E
  94.     Starting test 'SectionUnitDiscussionTest::testPageManageDiscussion'.
  95.     E
  96.     Starting test 'SectionUnitDiscussionTest::testPageManageDiscussionEmpty'.
  97.     E
  98.     Starting test 'SectionUnitDiscussionTest::testPageManageDiscussionImportDiscussion'.
  99.     E
  100.     Starting test 'SectionUnitDiscussionTest::testPageManageDiscussionImportDiscussionSucess'.
  101.     E
  102.     Starting test 'SectionUnitDiscussionTest::testPageManageDiscussionEditPage'.
  103.     E
  104.     Starting test 'SectionUnitDiscussionTest::testPageManageDiscussionUpdateSuccess'.
  105.     E
  106.     Starting test 'SectionUnitDiscussionTest::testPageManageDiscussionDeleteSuccess'.
  107.     E
  108.     Starting test 'SectionUnitDiscussionTest::testPageManageDiscussionEnableForumSuccess'.
  109.     E
  110.     Starting test 'SectionUnitDiscussionTest::testPageManageDiscussionDisableForumSuccess'.
  111.     E
  112.     Starting test 'SectionUnitTemplateTest::testPageCreateSectionUnitTemplate'.
  113.     E
  114.     Starting test 'SectionUnitTest::testStoreSectionUnitSuccess'.
  115.     .
  116.     Starting test 'SectionUnitTest::testDestroySectionUnitSuccess'.
  117.     .
  118.     Starting test 'TakeQuizTest::testSubmitQuiz100'.
  119.     E
  120.     Starting test 'TakeQuizTest::testSubmitQuiz0'.
  121.     F
  122.     Starting test 'TopicTest::testIndexTopicSuccess'.
  123.     E
  124.     Starting test 'UnitContentsTest::testEditManageContentsSuccess'.
  125.     F
  126.     Starting test 'UnitTest::testCreateUnitWithObjectiveSuccess'.
  127.     F
  128.     Starting test 'UnitTest::testCreateUnitWithoutTopicAndObjectiveSuccess'.
  129.     F
  130.     Starting test 'UnitTest::testShowDiscussionsSuccess'.
Advertisement
Add Comment
Please, Sign In to add comment