@@ -41,7 +41,6 @@ public function test_home_page_displays_all_tools(): void
4141 $ response ->assertSee ('JWT Decoder ' );
4242 $ response ->assertSee ('Timestamp Converter ' );
4343 $ response ->assertSee ('Diff Checker ' );
44- $ response ->assertSee ('Sort Lines ' );
4544 }
4645
4746 public function test_home_page_has_tool_links (): void
@@ -71,7 +70,6 @@ public function test_home_page_has_tool_links(): void
7170 $ response ->assertSee ('href=" ' . route ('tools.jwt ' ) . '" ' , false );
7271 $ response ->assertSee ('href=" ' . route ('tools.timestamp ' ) . '" ' , false );
7372 $ response ->assertSee ('href=" ' . route ('tools.diff ' ) . '" ' , false );
74- $ response ->assertSee ('href=" ' . route ('tools.sort-lines ' ) . '" ' , false );
7573 }
7674
7775 public function test_csv_tool_page_loads (): void
@@ -518,30 +516,9 @@ public function test_diff_tool_has_required_elements(): void
518516 $ response ->assertSee ('Compare ' );
519517 }
520518
521- public function test_sort_lines_page_loads (): void
522- {
523- $ response = $ this ->get ('/tools/sort-lines ' );
524-
525- $ response ->assertStatus (200 );
526- $ response ->assertSee ('Sort Lines ' );
527- $ response ->assertSee ('Sort, deduplicate, reverse, and shuffle text lines ' );
528- }
529-
530- public function test_sort_lines_has_required_elements (): void
531- {
532- $ response = $ this ->get ('/tools/sort-lines ' );
533-
534- $ response ->assertStatus (200 );
535- $ response ->assertSee ('Input Text ' );
536- $ response ->assertSee ('Sort Options ' );
537- $ response ->assertSee ('Sort A-Z ' );
538- $ response ->assertSee ('Remove Duplicates ' );
539- $ response ->assertSee ('Shuffle ' );
540- }
541-
542519 public function test_all_pages_have_navigation (): void
543520 {
544- $ pages = ['/ ' , '/tools/csv ' , '/tools/yaml ' , '/tools/markdown ' , '/tools/sql ' , '/tools/base64 ' , '/tools/uuid ' , '/tools/hash ' , '/tools/url ' , '/tools/code-editor ' , '/tools/regex ' , '/tools/base-converter ' , '/tools/slug-generator ' , '/tools/color-picker ' , '/tools/qr-code ' , '/tools/html-entity ' , '/tools/text-case ' , '/tools/password ' , '/tools/lorem ' , '/tools/cron ' , '/tools/jwt ' , '/tools/timestamp ' , '/tools/diff ' , ' /tools/sort-lines ' ];
521+ $ pages = ['/ ' , '/tools/csv ' , '/tools/yaml ' , '/tools/markdown ' , '/tools/sql ' , '/tools/base64 ' , '/tools/uuid ' , '/tools/hash ' , '/tools/url ' , '/tools/code-editor ' , '/tools/regex ' , '/tools/base-converter ' , '/tools/slug-generator ' , '/tools/color-picker ' , '/tools/qr-code ' , '/tools/html-entity ' , '/tools/text-case ' , '/tools/password ' , '/tools/lorem ' , '/tools/cron ' , '/tools/jwt ' , '/tools/timestamp ' , '/tools/diff ' ];
545522
546523 foreach ($ pages as $ page ) {
547524 $ response = $ this ->get ($ page );
@@ -553,7 +530,7 @@ public function test_all_pages_have_navigation(): void
553530
554531 public function test_all_pages_have_theme_toggle (): void
555532 {
556- $ pages = ['/ ' , '/tools/csv ' , '/tools/yaml ' , '/tools/markdown ' , '/tools/sql ' , '/tools/base64 ' , '/tools/uuid ' , '/tools/hash ' , '/tools/url ' , '/tools/code-editor ' , '/tools/regex ' , '/tools/base-converter ' , '/tools/slug-generator ' , '/tools/color-picker ' , '/tools/qr-code ' , '/tools/html-entity ' , '/tools/text-case ' , '/tools/password ' , '/tools/lorem ' , '/tools/cron ' , '/tools/jwt ' , '/tools/timestamp ' , '/tools/diff ' , ' /tools/sort-lines ' ];
533+ $ pages = ['/ ' , '/tools/csv ' , '/tools/yaml ' , '/tools/markdown ' , '/tools/sql ' , '/tools/base64 ' , '/tools/uuid ' , '/tools/hash ' , '/tools/url ' , '/tools/code-editor ' , '/tools/regex ' , '/tools/base-converter ' , '/tools/slug-generator ' , '/tools/color-picker ' , '/tools/qr-code ' , '/tools/html-entity ' , '/tools/text-case ' , '/tools/password ' , '/tools/lorem ' , '/tools/cron ' , '/tools/jwt ' , '/tools/timestamp ' , '/tools/diff ' ];
557534
558535 foreach ($ pages as $ page ) {
559536 $ response = $ this ->get ($ page );
@@ -566,7 +543,7 @@ public function test_all_pages_have_theme_toggle(): void
566543 public function test_all_pages_load_vite_assets (): void
567544 {
568545 // Code editor uses standalone template without Vite
569- $ pages = ['/ ' , '/tools/csv ' , '/tools/yaml ' , '/tools/markdown ' , '/tools/sql ' , '/tools/base64 ' , '/tools/uuid ' , '/tools/hash ' , '/tools/url ' , '/tools/regex ' , '/tools/base-converter ' , '/tools/slug-generator ' , '/tools/color-picker ' , '/tools/qr-code ' , '/tools/html-entity ' , '/tools/text-case ' , '/tools/password ' , '/tools/lorem ' , '/tools/cron ' , '/tools/jwt ' , '/tools/timestamp ' , '/tools/diff ' , ' /tools/sort-lines ' ];
546+ $ pages = ['/ ' , '/tools/csv ' , '/tools/yaml ' , '/tools/markdown ' , '/tools/sql ' , '/tools/base64 ' , '/tools/uuid ' , '/tools/hash ' , '/tools/url ' , '/tools/regex ' , '/tools/base-converter ' , '/tools/slug-generator ' , '/tools/color-picker ' , '/tools/qr-code ' , '/tools/html-entity ' , '/tools/text-case ' , '/tools/password ' , '/tools/lorem ' , '/tools/cron ' , '/tools/jwt ' , '/tools/timestamp ' , '/tools/diff ' ];
570547
571548 foreach ($ pages as $ page ) {
572549 $ response = $ this ->get ($ page );
@@ -579,7 +556,7 @@ public function test_all_pages_load_vite_assets(): void
579556 public function test_all_tool_pages_have_back_link (): void
580557 {
581558 // Code editor uses standalone template with home link instead of back
582- $ toolPages = ['/tools/csv ' , '/tools/yaml ' , '/tools/markdown ' , '/tools/sql ' , '/tools/base64 ' , '/tools/uuid ' , '/tools/hash ' , '/tools/url ' , '/tools/regex ' , '/tools/base-converter ' , '/tools/slug-generator ' , '/tools/color-picker ' , '/tools/qr-code ' , '/tools/html-entity ' , '/tools/text-case ' , '/tools/password ' , '/tools/lorem ' , '/tools/cron ' , '/tools/jwt ' , '/tools/timestamp ' , '/tools/diff ' , ' /tools/sort-lines ' ];
559+ $ toolPages = ['/tools/csv ' , '/tools/yaml ' , '/tools/markdown ' , '/tools/sql ' , '/tools/base64 ' , '/tools/uuid ' , '/tools/hash ' , '/tools/url ' , '/tools/regex ' , '/tools/base-converter ' , '/tools/slug-generator ' , '/tools/color-picker ' , '/tools/qr-code ' , '/tools/html-entity ' , '/tools/text-case ' , '/tools/password ' , '/tools/lorem ' , '/tools/cron ' , '/tools/jwt ' , '/tools/timestamp ' , '/tools/diff ' ];
583560
584561 foreach ($ toolPages as $ page ) {
585562 $ response = $ this ->get ($ page );
@@ -632,7 +609,7 @@ public function test_api_routes_reject_get_requests(): void
632609
633610 public function test_pages_have_csrf_token (): void
634611 {
635- $ pages = ['/tools/csv ' , '/tools/yaml ' , '/tools/markdown ' , '/tools/sql ' , '/tools/base64 ' , '/tools/uuid ' , '/tools/hash ' , '/tools/url ' , '/tools/code-editor ' , '/tools/regex ' , '/tools/base-converter ' , '/tools/slug-generator ' , '/tools/color-picker ' , '/tools/qr-code ' , '/tools/html-entity ' , '/tools/text-case ' , '/tools/password ' , '/tools/lorem ' , '/tools/cron ' , '/tools/jwt ' , '/tools/timestamp ' , '/tools/diff ' , ' /tools/sort-lines ' ];
612+ $ pages = ['/tools/csv ' , '/tools/yaml ' , '/tools/markdown ' , '/tools/sql ' , '/tools/base64 ' , '/tools/uuid ' , '/tools/hash ' , '/tools/url ' , '/tools/code-editor ' , '/tools/regex ' , '/tools/base-converter ' , '/tools/slug-generator ' , '/tools/color-picker ' , '/tools/qr-code ' , '/tools/html-entity ' , '/tools/text-case ' , '/tools/password ' , '/tools/lorem ' , '/tools/cron ' , '/tools/jwt ' , '/tools/timestamp ' , '/tools/diff ' ];
636613
637614 foreach ($ pages as $ page ) {
638615 $ response = $ this ->get ($ page );
0 commit comments