fuel / core

Fuel PHP Framework - The core of the Fuel v1 framework
http://fuelphp.com
813 stars 345 forks source link

another test failing #1327

Closed it-can closed 11 years ago

it-can commented 11 years ago

php oil test Tests Running...This may take a few moments. PHPUnit 3.7.13 by Sebastian Bergmann.

Configuration read from /app/phpunit.xml

............................................................... 63 / 340 ( 18%) ............................................................... 126 / 340 ( 37%) ............................................................... 189 / 340 ( 55%) .........................................F......F.FF........... 252 / 340 ( 74%) ............................................................... 315 / 340 ( 92%) .........................

Time: 0 seconds, Memory: 29.25Mb

There were 4 failures:

1) Fuel\Core\Test_Pagination::test_uri_segment_auto_detect_pagination_url Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'http://docs.fuelphp.com/welcome/index/1' +'http://docs.fuelphp.com/welcome/index/5/1'

/fuel/core/tests/pagination.php:96

2) Fuel\Core\Test_Pagination::test_uri_segment_make_link_with_no_query_string_ending_page_number Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'http://docs.fuelphp.com/welcome/index/1' +'http://docs.fuelphp.com/welcome/index/55/1'

/fuel/core/tests/pagination.php:257

3) Fuel\Core\Test_Pagination::test_uri_segment_make_link_with_query_string_ending_page_number Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'/welcome/index/1?foo=bar&fuel%5B0%5D=php1&fuel%5B1%5D=php2' +'http://docs.fuelphp.com/welcome/index/55/1?foo=bar&fuel%5B0%5D=php1&fuel%5B1%5D=php2'

/fuel/core/tests/pagination.php:303

4) Fuel\Core\Test_Pagination::test_uri_segment_make_link_with_query_string_ending_slash Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'/welcome/index/1?foo=bar&fuel%5B0%5D=php1&fuel%5B1%5D=php2' +'http://docs.fuelphp.com/welcome/index/1?foo=bar&fuel%5B0%5D=php1&fuel%5B1%5D=php2'

/fuel/core/tests/pagination.php:327

FAILURES! Tests: 340, Assertions: 378, Failures: 4.

it-can commented 11 years ago

Works!