Skip to content

Commit

Permalink
Merge pull request #37 from sanjuktaghosh7/drive-v3-ut
Browse files Browse the repository at this point in the history
test: added testcase for drive-v3 snippets
  • Loading branch information
sanjuktaghosh7 authored Jul 6, 2022
2 parents 36fd728 + ddd0bbd commit 08cdc73
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 26 deletions.
26 changes: 0 additions & 26 deletions drive/snippets/drive_v3/tests/DriveUploadAppData.php

This file was deleted.

25 changes: 25 additions & 0 deletions drive/snippets/drive_v3/tests/DriveUploadAppDataTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php
/**
* Copyright 2022 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
require 'src/DriveUploadAppData.php';
class DriveUploadAppDataTest extends \PHPUnit\Framework\TestCase
{
public function testUploadAppData()
{
$drive = uploadAppData();
$this->assertNotNull($drive, 'ID not returned.');
}
}

0 comments on commit 08cdc73

Please sign in to comment.