Skip to content

Commit a0b5be5

Browse files
committed
Integration test fix
1 parent 98c85ec commit a0b5be5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

modules/electrophysiology_browser/php/models/electrophysioannotations.class.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class ElectrophysioAnnotations
4848

4949
$annotationLabels = $db->pselect(
5050
'SELECT * FROM physiological_annotation_label',
51-
['PFID' => $this->_physioFileID]
51+
[]
5252
);
5353

5454
$this->_data = [

modules/electrophysiology_browser/test/electrophysiologyBrowserTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ function setUp(): void
120120
[
121121
'SessionID' => '999999',
122122
'PhysiologicalOutputTypeID' => 22,
123+
'InsertedByUser' => 'Unit Tester',
124+
'FilePath' => '/path/to/test/file',
123125
'FileType' => 'testType'
124126
]
125127
);
@@ -128,6 +130,8 @@ function setUp(): void
128130
[
129131
'SessionID' => '999997',
130132
'PhysiologicalOutputTypeID' => 23,
133+
'InsertedByUser' => 'Unit Tester',
134+
'FilePath' => '/path/to/test/file2',
131135
'FileType' => 'testType2'
132136
]
133137
);

0 commit comments

Comments
 (0)