Project:SimpleTest
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Taxonomy tests fail when runing on cvs or 4.7 drupal.
Fail: Taxonomy -> Vocabulary functions -> testVocabularyFunctions -> Checking value of nodes at [/var/www/html/drupal47/modules/simpletest/tests/taxonomy.module.test line 47]

And Taxonomy->Taxonomy nodeapi doesnt finish at all there seems to be an exit call before the end.

Comments

#1

Status:active» needs review

Patch I attached fixes Vocabulary functions tests please review my code.

Regarding the Taxonomy nodeapi tests this is what I found out:

  1. drupal core now uses different roles to access story
    <?php
    $perm
    = array('access content', 'create story content', 'edit own story content');
    ?>

    this is how it should be so this works on HEAD version of drupal
  2. around line 303 we use post() function to create a new story sth is wrong here probably we dont send enought POST variables maybe adding form id could work. But I couldn't get this right and it didn't work for me
AttachmentSizeStatusTest resultOperations
taxonomy.test.patch.txt1.03 KBIgnored: Check issue status.NoneNone

#2

Status:needs review» fixed

This patch was committed during the Drupal 5 port, http://drupal.org/node/128707

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

nobody click here