Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete url-shortener.php #1646

Merged
merged 6 commits into from
Jun 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.