File tree 4 files changed +44
-2
lines changed 4 files changed +44
-2
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,10 @@ RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = true ]; then \
105
105
&& rm /tmp/aerospike-client-php.tar.gz \
106
106
;fi
107
107
108
+ RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = false ]; then \
109
+ rm /usr/local/etc/php/conf.d/aerospike.ini \
110
+ ;fi
111
+
108
112
#####################################
109
113
# Opcache:
110
114
#####################################
@@ -118,6 +122,10 @@ RUN if [ ${INSTALL_OPCACHE} = true ]; then \
118
122
# Copy opcache configration
119
123
COPY ./opcache.ini /usr/local/etc/php/conf.d/opcache.ini
120
124
125
+ RUN if [ ${INSTALL_OPCACHE} = false ]; then \
126
+ rm /usr/local/etc/php/conf.d/opcache.ini \
127
+ ;fi
128
+
121
129
#####################################
122
130
# Codeigniter Modifications:
123
131
#####################################
Original file line number Diff line number Diff line change @@ -117,6 +117,10 @@ RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = true ]; then \
117
117
&& rm /tmp/aerospike-client-php.tar.gz \
118
118
;fi
119
119
120
+ RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = false ]; then \
121
+ rm /usr/local/etc/php/conf.d/aerospike.ini \
122
+ ;fi
123
+
120
124
#####################################
121
125
# Opcache:
122
126
#####################################
@@ -129,6 +133,10 @@ RUN if [ ${INSTALL_OPCACHE} = true ]; then \
129
133
# Copy opcache configration
130
134
COPY ./opcache.ini /usr/local/etc/php/conf.d/opcache.ini
131
135
136
+ RUN if [ ${INSTALL_OPCACHE} = false ]; then \
137
+ rm /usr/local/etc/php/conf.d/opcache.ini \
138
+ ;fi
139
+
132
140
#####################################
133
141
# Codeigniter Modifications:
134
142
#####################################
Original file line number Diff line number Diff line change 10
10
stopOnFailure =" false" >
11
11
<testsuites >
12
12
<testsuite name =" Application Test Suite" >
13
- <directory suffix =" Test.php" >./tests</directory >
13
+ <directory suffix =" Test.php" >./src/ tests/ </directory >
14
14
</testsuite >
15
15
</testsuites >
16
16
<filter >
17
17
<whitelist processUncoveredFilesFromWhitelist =" true" >
18
- <directory suffix =" .php" >./app </directory >
18
+ <directory suffix =" .php" >./src </directory >
19
19
</whitelist >
20
20
</filter >
21
21
<php >
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ class ExampleTest extends TestCase
4
+ {
5
+ /**
6
+ * A basic functional Tasks index example.
7
+ *
8
+ * @return void
9
+ */
10
+ public function testTasksIndexExample ()
11
+ {
12
+ $ this ->visit ('/tasks ' )
13
+ ->see ('Tasks page ' );
14
+ }
15
+
16
+ /**
17
+ * A basic functional Tasks show example.
18
+ *
19
+ * @return void
20
+ */
21
+ public function testTasksIdExample ()
22
+ {
23
+ $ this ->visit ('/tasks/123 ' )
24
+ ->see ('Task 123 page ' );
25
+ }
26
+ }
You can’t perform that action at this time.
0 commit comments