openstackid-resources/tests/FolderServiceTest.php
smarcet 8bd1d7e3e6 Fix on folder service
Change-Id: Id5c241d37d702e2cd0fe27976d9c3d76491d89ea
2019-09-09 22:41:48 -03:00

30 lines
972 B
PHP

<?php namespace Tests;
/**
* Copyright 2019 OpenStack Foundation
* 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.
**/
use App\Services\Model\IFolderService;
use Illuminate\Support\Facades\App;
/**
* Class FolderServiceTest
* @package Tests
*/
class FolderServiceTest extends TestCase
{
public function testFindOrMake(){
$folder_service = App::make(IFolderService::class);
$folder = $folder_service->findOrMake("summits/1/presentations/1");
}
}