Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Tomáš Trávníček
doctrine-dbal
Commits
e9803599
Commit
e9803599
authored
Jan 10, 2008
by
lsmith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- ws fixes
parent
cb1a71f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
24 deletions
+21
-24
480TestCase.php
tests/Ticket/480TestCase.php
+21
-24
No files found.
tests/Ticket/480TestCase.php
View file @
e9803599
...
@@ -38,13 +38,11 @@ class stComment extends Doctrine_Record
...
@@ -38,13 +38,11 @@ class stComment extends Doctrine_Record
$this
->
setTableName
(
'st_comment'
);
$this
->
setTableName
(
'st_comment'
);
$this
->
hasColumn
(
'title'
,
'string'
,
100
,
array
());
$this
->
hasColumn
(
'title'
,
'string'
,
100
,
array
());
$this
->
hasColumn
(
'body'
,
'string'
,
1000
,
array
());
$this
->
hasColumn
(
'body'
,
'string'
,
1000
,
array
());
}
}
}
}
class
Doctrine_Ticket_480_TestCase
extends
Doctrine_UnitTestCase
class
Doctrine_Ticket_480_TestCase
extends
Doctrine_UnitTestCase
{
{
public
function
testInit
()
public
function
testInit
()
{
{
$this
->
dbh
=
new
Doctrine_Adapter_Mock
(
'oracle'
);
$this
->
dbh
=
new
Doctrine_Adapter_Mock
(
'oracle'
);
...
@@ -60,6 +58,5 @@ class Doctrine_Ticket_480_TestCase extends Doctrine_UnitTestCase
...
@@ -60,6 +58,5 @@ class Doctrine_Ticket_480_TestCase extends Doctrine_UnitTestCase
// Trigger can be created after both CREATE TABLE and CREATE SEQUENCE
// Trigger can be created after both CREATE TABLE and CREATE SEQUENCE
$this
->
assertFalse
(
preg_match
(
'~^CREATE TRIGGER.*~'
,
$queries
[
1
]));
$this
->
assertFalse
(
preg_match
(
'~^CREATE TRIGGER.*~'
,
$queries
[
1
]));
$this
->
assertFalse
(
preg_match
(
'~^CREATE TRIGGER.*~'
,
$queries
[
2
]));
$this
->
assertFalse
(
preg_match
(
'~^CREATE TRIGGER.*~'
,
$queries
[
2
]));
}
}
}
}
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