3

Simpletest: memory limit hit when posting a node add form

http://drupal.org

I'm currently writing tests for one of my modules, and I've run into a bit of a problem. When I run a test that uses $this->drupalPost('node/add/page', $edit, t('Save')); to post a node add form, that portion of the test fails, and when I take a look at the verbose message I find it's a memory limit error that causes the failure. I increased my php memory limit to 512 and see it in Drupal as 512 but I still receive the same result. Posting a node form is vital to the test, so I need to figure out how I can fix this. Does anyone know of anything that can be causing this?

I'm fairly new to working with Simpletest (but I've definitely realized how absolutely wonderful it is!), so I don't know if I'm missing something.

Thanks for your time. : )

Read »
Created by Dplanet 26 weeks 5 days ago
Category: Modules   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Tags for Simpletest: memory limit hit when posting a node add form

Recent comments