Warning: ob_start(): function '' not found or invalid function name in /home/zululandmx/wojtyszyn.pl/symfony-1.2.10/lib/config/sfApplicationConfiguration.class.php on line 157
Warning: unlink(/home/zululandmx/wojtyszyn.pl/symfony-1.2.10/lib/plugins/sfPropelPlugin/test/functional/fixtures/log/.nfs000000000043df73002e734a): Device or resource busy in /home/zululandmx/wojtyszyn.pl/symfony-1.2.10/lib/util/sfToolkit.class.php on line 87
> list page
# get /article
ok 1 - request parameter module is article
ok 2 - request parameter action is index
ok 3 - status code is 200
ok 4 - response selector h1 matches Article List
ok 5 - response selector table thead tr th:nth(0) matches Id
ok 6 - response selector table thead tr th:nth(1) matches Title
ok 7 - response selector table thead tr th:nth(2) matches Body
ok 8 - response selector table thead tr th:nth(3) matches Online
ok 9 - response selector table thead tr th:nth(4) matches Excerpt
ok 10 - response selector table thead tr th:nth(5) matches Category
ok 11 - response selector table thead tr th:nth(6) matches Created at
ok 12 - response selector table thead tr th:nth(7) matches End date
ok 13 - response selector table thead tr th:nth(8) matches Book
ok 14 - response selector table tbody tr td:nth(0) matches 1
ok 15 - response selector table tbody tr td:nth(1) matches foo title
ok 16 - response selector table tbody tr td:nth(2) matches bar body
ok 17 - response selector table tbody tr td:nth(3) matches 1
ok 18 - response selector table tbody tr td:nth(4) matches foo excerpt
ok 19 - response selector table tbody tr td:nth(5) matches 1
ok 20 - response selector table tbody tr td:nth(6) matches regex /^\d{4}\-\d{2}\-\d{2} \d{2}\:\d{2}\:\d{2}$/
ok 21 - response selector table tbody tr td:nth(7) matches ""
ok 22 - response selector table tbody tr td:nth(8) matches ""
ok 23 - response selector a[href*=/article/new] exists
ok 24 - response selector tbody a[href*=/article/1/edit] exists
ok 25 - response selector tbody a[href*=/article/2/edit] exists
> create page
# get /article/new.html
ok 26 - request parameter module is article
ok 27 - request parameter action is new
ok 28 - request parameter id is ""
ok 29 - status code is 200
ok 30 - response selector h1 matches New Article
ok 31 - response selector a[href*=/article] matches Cancel
ok 32 - response selector a[href*=/article/] does not exist
ok 33 - response selector table tbody td input[id=article_title][name=article[title]][value=] exists
ok 34 - response selector table tbody td textarea[id=article_body][name=article[body]] matches ""
ok 35 - response selector table tbody td input[id=article_Online][name=article[Online]][type=checkbox] exists
ok 36 - response selector table tbody td select[id=article_category_id][name=article[category_id]] option[value=1] matches Category 1
ok 37 - response selector table tbody td select[id=article_category_id][name=article[category_id]] option[value=2] matches Category 2
ok 38 - response selector table tbody td select[id=article_book_id][name=article[book_id]] option[value=][selected=selected] matches ""
ok 39 - response selector table tbody td select[id=article_book_id][name=article[book_id]] option[value=1] matches The definitive guide to symfony
ok 40 - response selector table tbody td select[id=article_author_article_list][name=article[author_article_list][]] option[value=1] matches Fabien
ok 41 - response selector table tbody td select[id=article_author_article_list][name=article[author_article_list][]] option[value=2] matches Thomas
ok 42 - response selector table tbody td select[id=article_author_article_list][name=article[author_article_list][]] option[value=3] matches Hélène
ok 43 - response selector table tbody td select[id=article_end_date_year][name=article[end_date][year]] option[selected=selected] matches ""
ok 44 - response selector table tbody td select[id=article_end_date_month][name=article[end_date][month]] option[selected=selected] matches ""
ok 45 - response selector table tbody td select[id=article_end_date_day][name=article[end_date][day]] option[selected=selected] matches ""
ok 46 - response selector table tbody td select[id=article_end_date_hour][name=article[end_date][hour]] option[selected=selected] matches ""
ok 47 - response selector table tbody td select[id=article_end_date_minute][name=article[end_date][minute]] option[selected=selected] matches ""
> save
# post /article.html
ok 48 - page redirected to https://localhost/index.php/article/3/edit.html
ok 49 - request parameter module is article
ok 50 - request parameter action is create
ok 51 - status code is 200
ok 52 - request parameter module is article
ok 53 - request parameter action is edit
ok 54 - request parameter id is 3
ok 55 - response selector table tbody td input[id=article_title][name=article[title]][value=my real title] exists
ok 56 - response selector table tbody td textarea[id=article_body][name=article[body]] matches my real body
ok 57 - response selector table tbody td input[id=article_Online][name=article[Online]][type=checkbox][checked=checked] exists
ok 58 - response selector table tbody td select[id=article_category_id][name=article[category_id]] option[value=1] matches Category 1
ok 59 - response selector table tbody td select[id=article_category_id][name=article[category_id]] option[value=2][selected=selected] matches Category 2
ok 60 - response selector table tbody td select[id=article_book_id][name=article[book_id]] option[value=][selected=selected] matches ""
ok 61 - response selector table tbody td select[id=article_book_id][name=article[book_id]] option[value=1] matches The definitive guide to symfony
ok 62 - response selector table tbody td select[id=article_author_article_list][name=article[author_article_list][]] option[value=1][selected=selected] matches Fabien
ok 63 - response selector table tbody td select[id=article_author_article_list][name=article[author_article_list][]] option[value=2][selected=selected] matches Thomas
ok 64 - response selector table tbody td select[id=article_author_article_list][name=article[author_article_list][]] option[value=3] matches Hélène
ok 65 - response selector table tbody td select[id=article_end_date_year][name=article[end_date][year]] option[selected=selected] matches ""
ok 66 - response selector table tbody td select[id=article_end_date_month][name=article[end_date][month]] option[selected=selected] matches ""
ok 67 - response selector table tbody td select[id=article_end_date_day][name=article[end_date][day]] option[selected=selected] matches ""
ok 68 - response selector table tbody td select[id=article_end_date_hour][name=article[end_date][hour]] option[selected=selected] matches ""
ok 69 - response selector table tbody td select[id=article_end_date_minute][name=article[end_date][minute]] option[selected=selected] matches ""
> go back to the list
# get /article.html
ok 70 - status code is 200
ok 71 - request parameter module is article
ok 72 - request parameter action is index
> edit page
# get /article/3/edit
ok 73 - request parameter module is article
ok 74 - request parameter action is edit
ok 75 - request parameter id is 3
ok 76 - status code is 200
ok 77 - response selector h1 matches Edit Article
ok 78 - response selector a[href*=/article] matches Cancel
ok 79 - response selector a[href*=/article/3] matches Delete
ok 80 - response selector a[href*=/article/3][onclick*=confirm] exists
ok 81 - response selector table tbody th:nth(0) matches Title
ok 82 - response selector table tbody th:nth(1) matches Body
ok 83 - response selector table tbody th:nth(2) matches Online
ok 84 - response selector table tbody th:nth(3) matches Excerpt
ok 85 - response selector table tbody th:nth(4) matches Category id
ok 86 - response selector table tbody th:nth(5) matches Created at
ok 87 - response selector table tbody th:nth(6) matches End date
ok 88 - response selector table tbody th:nth(7) matches Book id
ok 89 - response selector table tbody th:nth(8) matches Author article list
ok 90 - response selector table tbody td select[id=article_category_id][name=article[category_id]] option matches 2 times
ok 91 - response selector table tbody td select[id=article_book_id][name=article[book_id]] option matches 2 times
> save / validation
# post /article/3.html
ok 92 - status code is 200
ok 93 - request parameter module is article
ok 94 - request parameter action is update
ok 95 - response selector table tbody td input[id=article_title][name=article[title]][value=] exists
ok 96 - response selector table tbody td textarea[id=article_body][name=article[body]] matches my body
ok 97 - response selector table tbody td input[id=article_Online][name=article[Online]][type=checkbox][checked=checked] exists
ok 98 - response selector table tbody td select[id=article_category_id][name=article[category_id]] option[value=1] matches Category 1
ok 99 - response selector table tbody td select[id=article_category_id][name=article[category_id]] option[value=2] matches Category 2
ok 100 - response selector table tbody td select[id=article_book_id][name=article[book_id]] option[value=] matches ""
ok 101 - response selector table tbody td select[id=article_book_id][name=article[book_id]] option[value=1] matches The definitive guide to symfony
ok 102 - response selector table tbody td select[id=article_author_article_list][name=article[author_article_list][]] option[value=1] matches Fabien
ok 103 - response selector table tbody td select[id=article_author_article_list][name=article[author_article_list][]] option[value=2] matches Thomas
ok 104 - response selector table tbody td select[id=article_author_article_list][name=article[author_article_list][]] option[value=3] matches Hélène
ok 105 - response selector table tbody td select[id=article_end_date_year][name=article[end_date][year]] option[selected=selected] matches ""
ok 106 - response selector table tbody td select[id=article_end_date_month][name=article[end_date][month]] option[selected=selected] matches ""
ok 107 - response selector table tbody td select[id=article_end_date_day][name=article[end_date][day]] option[selected=selected] matches 15
ok 108 - response selector table tbody td select[id=article_end_date_hour][name=article[end_date][hour]] option[selected=selected] matches 10
ok 109 - response selector table tbody td select[id=article_end_date_minute][name=article[end_date][minute]] option[selected=selected] matches 20
ok 110 - response selector ul[class=error_list] li:contains(Required.) matches 2 times
ok 111 - response selector ul[class=error_list] li:contains(Invalid.) matches 4 times
> save
# post /article/3.html
ok 112 - page redirected to https://localhost/index.php/article/3/edit.html
ok 113 - request parameter module is article
ok 114 - request parameter action is update
ok 115 - status code is 200
ok 116 - request parameter module is article
ok 117 - request parameter action is edit
ok 118 - request parameter id is 3
ok 119 - response selector table tbody td input[id=article_title][name=article[title]][value=my title] exists
ok 120 - response selector table tbody td textarea[id=article_body][name=article[body]] matches my body
ok 121 - response selector table tbody td input[id=article_Online][name=article[Online]][type=checkbox] exists
ok 122 - response selector table tbody td select[id=article_category_id][name=article[category_id]] option[value=1][selected=selected] matches Category 1
ok 123 - response selector table tbody td select[id=article_category_id][name=article[category_id]] option[value=2] matches Category 2
ok 124 - response selector table tbody td select[id=article_book_id][name=article[book_id]] option[value=] matches ""
ok 125 - response selector table tbody td select[id=article_book_id][name=article[book_id]] option[value=1][selected=selected] matches The definitive guide to symfony
ok 126 - response selector table tbody td select[id=article_author_article_list][name=article[author_article_list][]] option[value=1][selected=selected] matches Fabien
ok 127 - response selector table tbody td select[id=article_author_article_list][name=article[author_article_list][]] option[value=2] matches Thomas
ok 128 - response selector table tbody td select[id=article_author_article_list][name=article[author_article_list][]] option[value=3][selected=selected] matches Hélène
not ok 129 - response selector table tbody td select[id=article_end_date_year][name=article[end_date][year]] option[selected=selected] matches 2005
# Failed test (/home/zululandmx/wojtyszyn.pl/symfony-1.2.10/lib/test/sfTesterResponse.class.php at line 110)
# got: NULL
# expected: '2005'
ok 130 - response selector table tbody td select[id=article_end_date_month][name=article[end_date][month]] option[selected=selected] matches 10
ok 131 - response selector table tbody td select[id=article_end_date_day][name=article[end_date][day]] option[selected=selected] matches 15
ok 132 - response selector table tbody td select[id=article_end_date_hour][name=article[end_date][hour]] option[selected=selected] matches 10
ok 133 - response selector table tbody td select[id=article_end_date_minute][name=article[end_date][minute]] option[selected=selected] matches 20
> go back to the list
# get /article.html
ok 134 - status code is 200
ok 135 - request parameter module is article
ok 136 - request parameter action is index
> delete
# get /article/3/edit
# delete /article/3.html
ok 137 - status code is 302
ok 138 - request parameter module is article
ok 139 - request parameter action is delete
ok 140 - page redirected to https://localhost/index.php/article.html
ok 141 - status code is 200
ok 142 - request parameter module is article
ok 143 - request parameter action is index
# get /article/3/edit
ok 144 - status code is 404
# get /article/show/id/2
ok 145 - status code is 404
1..145
Looks like you failed 1 tests of 145.