Taxonomy tests fail

Rok Žlender - August 8, 2006 - 22:58
Project:SimpleTest
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

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.

#1

Rok Žlender - August 15, 2006 - 11:36
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
AttachmentSize
taxonomy.test.patch.txt 1.03 KB

#2

asimmonds - December 27, 2007 - 23:51
Status:needs review» fixed

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

#3

Anonymous - January 10, 2008 - 23:54
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.