Odyssey
app
test
unit
core
AdminUploadPDFTest.php
1
<?php
2
3
use PHPUnit\Framework\TestCase;
4
5
function
apache_note() {}
6
7
8
class
UploadTests
extends
TestCase
9
{
10
public
function
setUp() {
11
/*register_shutdown_function(function() {
12
throw new Exception('Hi Dude ');
13
}); */
14
$_SERVER[
'SERVER_NAME'
] =
'phpunit'
;
15
}
16
17
/*public function test_pdf_upload() {
18
require 'admcom/includes/pdfupload';
19
}*/
20
21
public
function
test_missing_key() {
22
$foo = array(
23
"a"
=>
"AAA"
24
);
25
$foo[
'not_there'
];
26
$foo[
'also_not_there'
];
27
}
28
}
29
30
?>
UploadTests
Definition:
AdminUploadPDFTest.php:8
Generated by
1.8.15