Changeset 5997
- Timestamp:
- 04/06/2016 06:58:37 AM (9 years ago)
- Location:
- trunk/tests/phpunit/testcases
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/core/update.php
r5967 r5997 82 82 $category_id = $this->factory->forum->create( array( 83 83 'forum_meta' => array( 84 ' _bbp_forum_type' => 'category',85 ' _bbp_status' => 'open',84 'forum_type' => 'category', 85 'status' => 'open', 86 86 ), 87 87 ) ); -
trunk/tests/phpunit/testcases/forums/template/get-last-thing.php
r5966 r5997 17 17 $c = $this->factory->forum->create( array( 18 18 'forum_meta' => array( 19 ' _bbp_forum_type' => 'category',20 ' _bbp_status' => 'open',21 ), 22 ) ); 23 24 $f = $this->factory->forum->create( array( 25 'post_parent' => $c, 26 'forum_meta' => array( 27 'forum_id' 28 ' _bbp_forum_type' => 'forum',29 ' _bbp_status' => 'open',19 'forum_type' => 'category', 20 'status' => 'open', 21 ), 22 ) ); 23 24 $f = $this->factory->forum->create( array( 25 'post_parent' => $c, 26 'forum_meta' => array( 27 'forum_id' => $c, 28 'forum_type' => 'forum', 29 'status' => 'open', 30 30 ), 31 31 ) ); … … 94 94 $c = $this->factory->forum->create( array( 95 95 'forum_meta' => array( 96 ' _bbp_forum_type' => 'category',97 ' _bbp_status' => 'open',98 ), 99 ) ); 100 101 102 $f = $this->factory->forum->create( array( 103 'post_parent' => $c, 104 'forum_meta' => array( 105 'forum_id' 106 ' _bbp_forum_type' => 'forum',107 ' _bbp_status' => 'open',96 'forum_type' => 'category', 97 'status' => 'open', 98 ), 99 ) ); 100 101 102 $f = $this->factory->forum->create( array( 103 'post_parent' => $c, 104 'forum_meta' => array( 105 'forum_id' => $c, 106 'forum_type' => 'forum', 107 'status' => 'open', 108 108 ), 109 109 ) ); … … 199 199 $c = $this->factory->forum->create( array( 200 200 'forum_meta' => array( 201 ' _bbp_forum_type' => 'category',202 ' _bbp_status' => 'open',203 ), 204 ) ); 205 206 207 $f = $this->factory->forum->create( array( 208 'post_parent' => $c, 209 'forum_meta' => array( 210 'forum_id' 211 ' _bbp_forum_type' => 'forum',212 ' _bbp_status' => 'open',201 'forum_type' => 'category', 202 'status' => 'open', 203 ), 204 ) ); 205 206 207 $f = $this->factory->forum->create( array( 208 'post_parent' => $c, 209 'forum_meta' => array( 210 'forum_id' => $c, 211 'forum_type' => 'forum', 212 'status' => 'open', 213 213 ), 214 214 ) ); … … 270 270 $c = $this->factory->forum->create( array( 271 271 'forum_meta' => array( 272 ' _bbp_forum_type' => 'category',273 ' _bbp_status' => 'open',272 'forum_type' => 'category', 273 'status' => 'open', 274 274 ), 275 275 ) ); … … 280 280 'forum_meta' => array( 281 281 'forum_id' => $c, 282 ' _bbp_forum_type' => 'forum',283 ' _bbp_status' => 'open',282 'forum_type' => 'forum', 283 'status' => 'open', 284 284 ), 285 285 ) ); … … 328 328 $c = $this->factory->forum->create( array( 329 329 'forum_meta' => array( 330 ' _bbp_forum_type' => 'category',331 ' _bbp_status' => 'open',330 'forum_type' => 'category', 331 'status' => 'open', 332 332 ), 333 333 ) ); … … 338 338 'forum_meta' => array( 339 339 'forum_id' => $c, 340 ' _bbp_forum_type' => 'forum',341 ' _bbp_status' => 'open',340 'forum_type' => 'forum', 341 'status' => 'open', 342 342 ), 343 343 ) ); … … 379 379 $c = $this->factory->forum->create( array( 380 380 'forum_meta' => array( 381 ' _bbp_forum_type' => 'category',382 ' _bbp_status' => 'open',383 ), 384 ) ); 385 386 387 $f = $this->factory->forum->create( array( 388 'post_parent' => $c, 389 'forum_meta' => array( 390 'forum_id' 391 ' _bbp_forum_type' => 'forum',392 ' _bbp_status' => 'open',381 'forum_type' => 'category', 382 'status' => 'open', 383 ), 384 ) ); 385 386 387 $f = $this->factory->forum->create( array( 388 'post_parent' => $c, 389 'forum_meta' => array( 390 'forum_id' => $c, 391 'forum_type' => 'forum', 392 'status' => 'open', 393 393 ), 394 394 ) ); … … 418 418 $c = $this->factory->forum->create( array( 419 419 'forum_meta' => array( 420 ' _bbp_forum_type' => 'category',421 ' _bbp_status' => 'open',422 ), 423 ) ); 424 425 426 $f = $this->factory->forum->create( array( 427 'post_author' => $u, 428 'post_parent' => $c, 429 'forum_meta' => array( 430 'forum_id' 431 ' _bbp_forum_type' => 'forum',432 ' _bbp_status' => 'open',420 'forum_type' => 'category', 421 'status' => 'open', 422 ), 423 ) ); 424 425 426 $f = $this->factory->forum->create( array( 427 'post_author' => $u, 428 'post_parent' => $c, 429 'forum_meta' => array( 430 'forum_id' => $c, 431 'forum_type' => 'forum', 432 'status' => 'open', 433 433 ), 434 434 ) ); … … 472 472 $c = $this->factory->forum->create( array( 473 473 'forum_meta' => array( 474 ' _bbp_forum_type' => 'category',475 ' _bbp_status' => 'open',476 ), 477 ) ); 478 479 480 $f = $this->factory->forum->create( array( 481 'post_parent' => $c, 482 'forum_meta' => array( 483 'forum_id' 484 ' _bbp_forum_type' => 'forum',485 ' _bbp_status' => 'open',474 'forum_type' => 'category', 475 'status' => 'open', 476 ), 477 ) ); 478 479 480 $f = $this->factory->forum->create( array( 481 'post_parent' => $c, 482 'forum_meta' => array( 483 'forum_id' => $c, 484 'forum_type' => 'forum', 485 'status' => 'open', 486 486 ), 487 487 ) ); … … 511 511 $c = $this->factory->forum->create( array( 512 512 'forum_meta' => array( 513 ' _bbp_forum_type' => 'category',514 ' _bbp_status' => 'open',515 ), 516 ) ); 517 518 519 $f = $this->factory->forum->create( array( 520 'post_parent' => $c, 521 'forum_meta' => array( 522 'forum_id' 523 ' _bbp_forum_type' => 'forum',524 ' _bbp_status' => 'open',513 'forum_type' => 'category', 514 'status' => 'open', 515 ), 516 ) ); 517 518 519 $f = $this->factory->forum->create( array( 520 'post_parent' => $c, 521 'forum_meta' => array( 522 'forum_id' => $c, 523 'forum_type' => 'forum', 524 'status' => 'open', 525 525 ), 526 526 ) ); … … 573 573 $c = $this->factory->forum->create( array( 574 574 'forum_meta' => array( 575 ' _bbp_forum_type' => 'category',576 ' _bbp_status' => 'open',577 ), 578 ) ); 579 580 581 $f = $this->factory->forum->create( array( 582 'post_parent' => $c, 583 'forum_meta' => array( 584 'forum_id' 585 ' _bbp_forum_type' => 'forum',586 ' _bbp_status' => 'open',575 'forum_type' => 'category', 576 'status' => 'open', 577 ), 578 ) ); 579 580 581 $f = $this->factory->forum->create( array( 582 'post_parent' => $c, 583 'forum_meta' => array( 584 'forum_id' => $c, 585 'forum_type' => 'forum', 586 'status' => 'open', 587 587 ), 588 588 ) ); … … 646 646 $c = $this->factory->forum->create( array( 647 647 'forum_meta' => array( 648 ' _bbp_forum_type' => 'category',649 ' _bbp_status' => 'open',650 ), 651 ) ); 652 653 654 $f = $this->factory->forum->create( array( 655 'post_author' => $u, 656 'post_parent' => $c, 657 'forum_meta' => array( 658 'forum_id' 659 ' _bbp_forum_type' => 'forum',660 ' _bbp_status' => 'open',648 'forum_type' => 'category', 649 'status' => 'open', 650 ), 651 ) ); 652 653 654 $f = $this->factory->forum->create( array( 655 'post_author' => $u, 656 'post_parent' => $c, 657 'forum_meta' => array( 658 'forum_id' => $c, 659 'forum_type' => 'forum', 660 'status' => 'open', 661 661 ), 662 662 ) ); … … 701 701 $c = $this->factory->forum->create( array( 702 702 'forum_meta' => array( 703 ' _bbp_forum_type' => 'category',704 ' _bbp_status' => 'open',705 ), 706 ) ); 707 708 709 $f = $this->factory->forum->create( array( 710 'post_author' => $u, 711 'post_parent' => $c, 712 'forum_meta' => array( 713 'forum_id' 714 ' _bbp_forum_type' => 'forum',715 ' _bbp_status' => 'open',703 'forum_type' => 'category', 704 'status' => 'open', 705 ), 706 ) ); 707 708 709 $f = $this->factory->forum->create( array( 710 'post_author' => $u, 711 'post_parent' => $c, 712 'forum_meta' => array( 713 'forum_id' => $c, 714 'forum_type' => 'forum', 715 'status' => 'open', 716 716 ), 717 717 ) ); … … 754 754 $c = $this->factory->forum->create( array( 755 755 'forum_meta' => array( 756 ' _bbp_forum_type' => 'category',757 ' _bbp_status' => 'open',758 ), 759 ) ); 760 761 762 $f = $this->factory->forum->create( array( 763 'post_parent' => $c, 764 'forum_meta' => array( 765 'forum_id' 766 ' _bbp_forum_type' => 'forum',767 ' _bbp_status' => 'open',756 'forum_type' => 'category', 757 'status' => 'open', 758 ), 759 ) ); 760 761 762 $f = $this->factory->forum->create( array( 763 'post_parent' => $c, 764 'forum_meta' => array( 765 'forum_id' => $c, 766 'forum_type' => 'forum', 767 'status' => 'open', 768 768 ), 769 769 ) );
Note: See TracChangeset
for help on using the changeset viewer.