Skip to content

Commit

Permalink
Delete url-shortener.php (#1646)
Browse files Browse the repository at this point in the history
  • Loading branch information
grant authored and bshaffer committed Jun 7, 2019
1 parent 4bfd3ed commit 9b293e9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 181 deletions.
6 changes: 6 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@
1. Point your browser to the host and port you specified, i.e `http://localhost:8000`.
## G Suite OAuth Samples
G Suite APIs such as Slides, Sheets, and Drive use 3-legged OAuth authentification.
Samples using OAuth can be found here:
https://github.com/gsuitedevs/php-samples
1 change: 0 additions & 1 deletion examples/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@

<ul>
<li><a href="simple-query.php">A query using simple API access</a></li>
<li><a href="url-shortener.php">Authorize a url shortener, using OAuth 2.0 authentication.</a></li>
<li><a href="batch.php">An example of combining multiple calls into a batch request</a></li>
<li><a href="service-account.php">A query using the service account functionality.</a></li>
<li><a href="simple-file-upload.php">An example of a small file upload.</a></li>
Expand Down
144 changes: 0 additions & 144 deletions examples/url-shortener.php

This file was deleted.

4 changes: 2 additions & 2 deletions tests/examples/indexTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function testIndex()
$crawler = $this->loadExample('index.php');

$nodes = $crawler->filter('li');
$this->assertCount(9, $nodes);
$this->assertCount(8, $nodes);
$this->assertEquals('A query using simple API access', $nodes->first()->text());
}
}
}
34 changes: 0 additions & 34 deletions tests/examples/urlShortenerTest.php

This file was deleted.

0 comments on commit 9b293e9

Please sign in to comment.