FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
redux-framework/bootstrap_tests.php at master · ProjectFWO/redux-framework · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
ProjectFWO
/
redux-framework
Public
forked from
reduxframework/redux-framework
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
redux-framework
/
bootstrap_tests.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
31 lines (28 loc) · 1.06 KB
Breadcrumbs
redux-framework
/
bootstrap_tests.php
Copy path
File metadata and controls
31 lines (28 loc) · 1.06 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
/**
* Bootstrap the plugin unit testing environment. Customize 'active_plugins'
* setting below to point to your main plugin file.
*
* Requires WordPress Unit Tests (http://unit-test.svn.wordpress.org/trunk/).
*
* @package wordpress-plugin-tests
*/
//Turing this crap off. it doesn't work. It's making Travis whine like a bitch.
return
;
// Add this plugin to WordPress for activation so it can be tested.
$
GLOBALS
[
'
wp_tests_options
'
] =
array
(
'
active_plugins
'
=>
array
(
"
ReduxFramework/redux-framework.php
"
),
);
/**
* If the wordpress-tests repo location has been customized (and specified
* with WP_TESTS_DIR), use that location. This will most commonly be the case
* when configured for use with Travis CI.
*
* Otherwise, we'll just assume that this plugin is installed in the WordPress
* SVN external checkout configured in the wordpress-tests repo.
*/
if
(
false
!==
getenv
(
'
WP_TESTS_DIR
'
) ) {
require
getenv
(
'
WP_TESTS_DIR
'
) .
'
/bootstrap.php
'
;
}
else
{
require
dirname
(
dirname
(
dirname
(
dirname
(
dirname
(
__FILE__
) ) ) ) ) .
'
/bootstrap.php
'
;
}
Back
|
FazBrowse Home
|
New Git URL