Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Created by JetBrains PhpStorm.
- * User: vishal
- * Date: 24/10/13
- * Time: 1:00 AM
- * To change this template use File | Settings | File Templates.
- */
- $directory = getcwd();
- echo "..........................dir.first...............................";
- echo $directory;
- echo "...........................................................";
- $result=chdir ('drupal_check');
- $directory = getcwd();
- echo "..........................dir.second...............................";
- echo $directory;
- echo "...........................................................";
- require_once 'index.php';
- class index_Test extends PHPUnit_Framework_TestCase
- {
- public function test_content_try()
- {
- $directory = getcwd();
- echo ".........................Second............................";
- echo $directory;
- echo "...........................................................";
- $value=content_try();
- $this->assertEquals('10', $value,'Value should be one');
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement