Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
6081baaa
Commit
6081baaa
authored
Nov 02, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git rid of uri test case and remove information from config.
parent
527340d7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
34 deletions
+2
-34
application.php
application/config/application.php
+1
-1
session.php
application/config/session.php
+1
-1
UriTest.php
tests/Cases/UriTest.php
+0
-32
No files found.
application/config/application.php
View file @
6081baaa
...
...
@@ -40,7 +40,7 @@ return array(
|
*/
'key'
=>
'
SomethingElse
'
,
'key'
=>
''
,
/*
|--------------------------------------------------------------------------
...
...
application/config/session.php
View file @
6081baaa
...
...
@@ -16,7 +16,7 @@ return array(
|
*/
'driver'
=>
'
apc
'
,
'driver'
=>
''
,
/*
|--------------------------------------------------------------------------
...
...
tests/Cases/UriTest.php
deleted
100644 → 0
View file @
527340d7
<?php
class
UriTest
extends
PHPUnit_Framework_TestCase
{
/**
* @dataProvider uri_provider
*/
public
function
test_get_method_returns_correct_uri
(
$uri
,
$expectation
)
{
$uri
=
new
Laravel\URI
(
array
(
'REQUEST_URI'
=>
$uri
));
$this
->
assertEquals
(
$uri
->
get
(),
$expectation
);
}
public
function
uri_provider
()
{
return
array
(
array
(
'/index.php/'
,
'/'
),
array
(
'/index.php//'
,
'/'
),
array
(
''
,
'/'
),
array
(
'/'
,
'/'
),
array
(
'/index.php/user'
,
'user'
),
array
(
'/index.php/user/something'
,
'user/something'
),
array
(
'/user'
,
'user'
),
array
(
'/user/something'
,
'user/something'
),
array
(
'http://localhost/index.php/user'
,
'user'
),
array
(
'http://localhost/user'
,
'user'
),
array
(
'http://localhost/index.php/'
,
'/'
),
);
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment