partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 457c879e8bd19b9591f047daaa0e0d8e7baa55c9
parent 9f15cef3f61b6fe60ab9c1d2ca959cbfcb0e3765
Author: Felicitus <felicitus@felicitus.org>
Date:   Wed, 24 Jun 2015 12:59:14 +0200

Removed obsolete code

Diffstat:
Mapp/config/routing.yml | 20--------------------
Dsrc/PartKeepr/FootprintBundle/Tests/Controller/DefaultControllerTest.php | 17-----------------
2 files changed, 0 insertions(+), 37 deletions(-)

diff --git a/app/config/routing.yml b/app/config/routing.yml @@ -1,28 +1,8 @@ -part_keepr_part: - resource: "@PartKeeprPartBundle/Controller/" - type: annotation - prefix: / - -part_keepr_footprint: - resource: "@PartKeeprFootprintBundle/Controller/" - type: annotation - prefix: / - -part_keepr_unit: - resource: "@PartKeeprUnitBundle/Controller/" - type: annotation - prefix: / - part_keepr_auth: resource: "@PartKeeprAuthBundle/Controller/" type: annotation prefix: / -partkeepr_siprefixbundle: - resource: "@PartKeeprSiPrefixBundle/Controller/" - type: annotation - prefix: / - NelmioApiDocBundle: resource: "@NelmioApiDocBundle/Resources/config/routing.yml" prefix: /api/doc diff --git a/src/PartKeepr/FootprintBundle/Tests/Controller/DefaultControllerTest.php b/src/PartKeepr/FootprintBundle/Tests/Controller/DefaultControllerTest.php @@ -1,17 +0,0 @@ -<?php - -namespace PartKeepr\FootprintBundle\Tests\Controller; - -use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; - -class DefaultControllerTest extends WebTestCase -{ - public function testIndex() - { - $client = static::createClient(); - - $crawler = $client->request('GET', '/hello/Fabien'); - - $this->assertTrue($crawler->filter('html:contains("Hello Fabien")')->count() > 0); - } -}