Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d3b2b54066
Fetching contributors…

Cannot retrieve contributors at this time

file 17 lines (14 sloc) 0.327 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
--TEST--
Services_Digg_Stories::getStoryByTitle()
--FILE--
<?php

require_once 'tests-config.php';
require_once 'Validate.php';

$api = Services_Digg::factory('Stories');
$story = $api->getStoryByTitle('Caught_Up');
var_dump(($story->id == 1170833));
var_dump(Validate::uri($story->href));

?>
--EXPECT--
bool(true)
bool(true)
Something went wrong with that request. Please try again.