Index: feedapi_node/tests/feedapi_node.module.test
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/feedapi/feedapi_node/tests/Attic/feedapi_node.module.test,v
retrieving revision 1.1.4.25
diff -u -p -r1.1.4.25 feedapi_node.module.test
--- feedapi_node/tests/feedapi_node.module.test	19 Jun 2009 15:46:28 -0000	1.1.4.25
+++ feedapi_node/tests/feedapi_node.module.test	7 Aug 2009 10:51:17 -0000
@@ -493,5 +493,23 @@ EOT;
     $this->assertText($item->title, 'The item node really appears on the first page.');
     
   }
-  
+
+  /**
+   * Checks if possible to save invalid feed URL (parser cannot parse at the moment)
+   * if the title is filled.
+   * d.o. #260670
+   */
+  function testParserFalseResult() {
+    $this->create_type(array_pop($this->get_parsers()));
+    $settings = feedapi_get_settings($this->info->type);
+    $this->feedapi_user();
+    $edit = array(
+      'feedapi[feedapi_url]' => "http://". $this->randomName() .".". $this->randomName(2),
+      'title' => $this->randomName(10),
+    );
+    $this->drupalPost('node/add/'. $this->info->type, $edit, 'Save');
+    $absolutized_url = $GLOBALS['base_url'] . $edit['feedapi[feedapi_url]'];
+    $node = db_result(db_query("SELECT nid FROM {feedapi} WHERE url = '%s' OR url = '%s'", $edit['feedapi[feedapi_url]'], $absolutized_url));
+    $this->assertTrue(($node != FALSE), 'The inaccessible feed URL was inserted to the database');
+  }
 }
