Passed
Push — master ( d4c6b8...347542 )
by Nicolaas
10:43
created

ShareThisSimpleTest::TestDevBuild()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
nc 1
nop 0
dl 0
loc 5
rs 10
c 1
b 0
f 0
1
<?php
2
3
use SilverStripe\Dev\SapphireTest;
4
5
/**
6
 * @internal
7
 * @coversNothing
8
 */
9
class ShareThisSimpleTest extends SapphireTest
10
{
11
    protected $usesDatabase = false;
12
13
    public function TestDevBuild()
14
    {
15
        $exitStatus = shell_exec('vendor/bin/sake dev/build flush=all  > dev/null; echo $?');
16
        $exitStatus = (int) trim($exitStatus);
17
        $this->assertSame(0, $exitStatus);
18
    }
19
}
20