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.

CommentFileSizeAuthor
#1 taxonomy.test.patch.txt1.03 KBRok Žlender

Comments

Rok Žlender’s picture

Status: Active » Needs review
StatusFileSize
new1.03 KB

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
    $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
asimmonds’s picture

Status: Needs review » Fixed

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

Anonymous’s picture

Status: Fixed » Closed (fixed)

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