1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-16 04:19:41 +02:00

[ticket/12459] Enable related tests

PHPBB3-12459
This commit is contained in:
Nicofuma 2014-04-30 00:47:37 +02:00 committed by Tristan Darricau
parent 3bf61d4df0
commit f90e6649f7

View File

@ -480,7 +480,6 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
public function test_create_softdelete_post() public function test_create_softdelete_post()
{ {
$this->markTestIncomplete('Softdeleted posts/topics are not marked in feeds yet, see PHPBB3-12460');
$this->login(); $this->login();
$this->load_ids(array( $this->load_ids(array(
'forums' => array( 'forums' => array(
@ -504,7 +503,6 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
public function test_softdelete_post() public function test_softdelete_post()
{ {
$this->markTestIncomplete('Softdeleted posts/topics are not marked in feeds yet, see PHPBB3-12460');
$this->login(); $this->login();
$this->load_ids(array( $this->load_ids(array(
'forums' => array( 'forums' => array(
@ -532,7 +530,6 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
public function test_feeds_softdeleted_post_admin() public function test_feeds_softdeleted_post_admin()
{ {
$this->markTestIncomplete('Softdeleted posts/topics are not marked in feeds yet, see PHPBB3-12460');
$this->load_ids(array( $this->load_ids(array(
'forums' => array( 'forums' => array(
'Feeds #1', 'Feeds #1',
@ -575,7 +572,6 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
public function test_feeds_softdeleted_post_guest() public function test_feeds_softdeleted_post_guest()
{ {
$this->markTestIncomplete('Softdeleted posts/topics are not marked in feeds yet, see PHPBB3-12460');
$this->load_ids(array( $this->load_ids(array(
'forums' => array( 'forums' => array(
'Feeds #1', 'Feeds #1',
@ -609,7 +605,6 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
public function test_softdelete_topic() public function test_softdelete_topic()
{ {
$this->markTestIncomplete('Softdeleted posts/topics are not marked in feeds yet, see PHPBB3-12460');
$this->login(); $this->login();
$this->load_ids(array( $this->load_ids(array(
'forums' => array( 'forums' => array(
@ -639,7 +634,6 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
public function test_feeds_softdeleted_topic_admin() public function test_feeds_softdeleted_topic_admin()
{ {
$this->markTestIncomplete('Softdeleted posts/topics are not marked in feeds yet, see PHPBB3-12460');
$this->load_ids(array( $this->load_ids(array(
'forums' => array( 'forums' => array(
'Feeds #1', 'Feeds #1',
@ -709,7 +703,6 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
public function test_feeds_softdeleted_topic_guest() public function test_feeds_softdeleted_topic_guest()
{ {
$this->markTestIncomplete('Softdeleted posts/topics are not marked in feeds yet, see PHPBB3-12460');
$this->load_ids(array( $this->load_ids(array(
'forums' => array( 'forums' => array(
'Feeds #1', 'Feeds #1',
@ -758,7 +751,6 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
public function test_create_unapproved_post() public function test_create_unapproved_post()
{ {
$this->markTestIncomplete('Unapproved posts/topics are not marked in feeds yet, see PHPBB3-12459');
$this->load_ids(array( $this->load_ids(array(
'forums' => array( 'forums' => array(
'Feeds #1.1', 'Feeds #1.1',
@ -780,7 +772,6 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
public function test_feeds_unapproved_post_admin() public function test_feeds_unapproved_post_admin()
{ {
$this->markTestIncomplete('Unapproved posts/topics are not marked in feeds yet, see PHPBB3-12459');
$this->load_ids(array( $this->load_ids(array(
'forums' => array( 'forums' => array(
'Feeds #1.1', 'Feeds #1.1',
@ -823,7 +814,6 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
public function test_feeds_unapproved_post_disapprove_user() public function test_feeds_unapproved_post_disapprove_user()
{ {
$this->markTestIncomplete('Unapproved posts/topics are not marked in feeds yet, see PHPBB3-12459');
$this->load_ids(array( $this->load_ids(array(
'forums' => array( 'forums' => array(
'Feeds #1.1', 'Feeds #1.1',
@ -857,7 +847,6 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
public function test_create_unapproved_topic() public function test_create_unapproved_topic()
{ {
$this->markTestIncomplete('Unapproved posts/topics are not marked in feeds yet, see PHPBB3-12459');
$this->load_ids(array( $this->load_ids(array(
'forums' => array( 'forums' => array(
'Feeds #1.1', 'Feeds #1.1',
@ -877,7 +866,6 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
public function test_feeds_unapproved_topic_admin() public function test_feeds_unapproved_topic_admin()
{ {
$this->markTestIncomplete('Unapproved posts/topics are not marked in feeds yet, see PHPBB3-12459');
$this->load_ids(array( $this->load_ids(array(
'forums' => array( 'forums' => array(
'Feeds #1.1', 'Feeds #1.1',
@ -944,7 +932,6 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
public function test_feeds_unapproved_topic_disapprove_user() public function test_feeds_unapproved_topic_disapprove_user()
{ {
$this->markTestIncomplete('Unapproved posts/topics are not marked in feeds yet, see PHPBB3-12459');
$this->load_ids(array( $this->load_ids(array(
'forums' => array( 'forums' => array(
'Feeds #1.1', 'Feeds #1.1',
@ -1026,7 +1013,7 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
$this->assert_feeds(array( $this->assert_feeds(array(
'f' => array( 'f' => array(
array( array(
'nb_entries' => 2, 'nb_entries' => 4,
'id' => $this->data['forums']['Feeds #1'], 'id' => $this->data['forums']['Feeds #1'],
'attachments' => array( 'attachments' => array(
1 => array( // First entry 1 => array( // First entry
@ -1054,7 +1041,7 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
), ),
'overall' => array( 'overall' => array(
array( array(
'nb_entries' => 6, 'nb_entries' => 11,
'attachments' => array( 'attachments' => array(
1 => array( // First entry 1 => array( // First entry
array( // First attachment to fetch array( // First attachment to fetch
@ -1067,7 +1054,7 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
), ),
'topics' => array( 'topics' => array(
array( array(
'nb_entries' => 5, 'nb_entries' => 8,
'attachments' => array( 'attachments' => array(
1 => array( // First entry 1 => array( // First entry
array( // First attachment to fetch array( // First attachment to fetch
@ -1080,7 +1067,7 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
), ),
'topics_new' => array( 'topics_new' => array(
array( array(
'nb_entries' => 5, 'nb_entries' => 8,
'attachments' => array( 'attachments' => array(
1 => array( // First entry 1 => array( // First entry
array( // First attachment to fetch array( // First attachment to fetch
@ -1093,7 +1080,7 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
), ),
'topics_active' => array( 'topics_active' => array(
array( array(
'nb_entries' => 5, 'nb_entries' => 8,
'attachments' => array( 'attachments' => array(
1 => array( // First entry 1 => array( // First entry
array( // First attachment to fetch array( // First attachment to fetch
@ -1153,7 +1140,7 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
), ),
'overall' => array( 'overall' => array(
array( array(
'nb_entries' => 6, 'nb_entries' => 7,
'attachments' => array( 'attachments' => array(
1 => array( // First entry 1 => array( // First entry
array( // First attachment to fetch array( // First attachment to fetch
@ -1166,7 +1153,7 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
), ),
'topics' => array( 'topics' => array(
array( array(
'nb_entries' => 5, 'nb_entries' => 6,
'attachments' => array( 'attachments' => array(
1 => array( // First entry 1 => array( // First entry
array( // First attachment to fetch array( // First attachment to fetch
@ -1179,7 +1166,7 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
), ),
'topics_new' => array( 'topics_new' => array(
array( array(
'nb_entries' => 5, 'nb_entries' => 6,
'attachments' => array( 'attachments' => array(
1 => array( // First entry 1 => array( // First entry
array( // First attachment to fetch array( // First attachment to fetch
@ -1192,7 +1179,7 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
), ),
'topics_active' => array( 'topics_active' => array(
array( array(
'nb_entries' => 5, 'nb_entries' => 6,
'attachments' => array( 'attachments' => array(
1 => array( // First entry 1 => array( // First entry
array( // First attachment to fetch array( // First attachment to fetch