Uname:Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64

Base Dir : /home/nobi37te/public_html

User : nobi37te


403WebShell
403Webshell
Server IP : 172.67.134.116  /  Your IP : 216.73.217.54
Web Server : Apache
System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : nobi37te ( 1003)
PHP Version : 8.2.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/nobi37te/public_html/wp-content/plugins/buddyboss-platform/cli/features/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/nobi37te/public_html/wp-content/plugins/buddyboss-platform/cli/features/friend.feature
Feature: Manage BuddyBoss Connections

  Scenario: Connections CRUD Operations
    Given a BP install

    When I try `wp user get bogus-user`
    Then the return code should be 1
    And STDOUT should be empty

    When I run `wp user create testuser1 testuser1@example.com --porcelain`
    Then STDOUT should be a number
    And save STDOUT as {BOB_ID}

    When I run `wp user create testuser2 testuser2@example.com --porcelain`
    Then STDOUT should be a number
    And save STDOUT as {SALLY_ID}

    When I run `wp user create testuser3 testuser3@example.com --porcelain`
    Then STDOUT should be a number
    And save STDOUT as {JOHN_ID}

    When I run `wp bp friend create {BOB_ID} {SALLY_ID} --force-accept`
    Then STDOUT should contain:
      """
      Success: Connection successfully created.
      """

    When I run `wp bp friend check {BOB_ID} {SALLY_ID}`
    Then STDOUT should contain:
      """
      Success: Yes, they are friends.
      """

    When I run `wp bp friend create {BOB_ID} {JOHN_ID} --force-accept`
    Then STDOUT should contain:
      """
      Success: Connection successfully created.
      """

    When I run `wp bp friend list {BOB_ID} --fields=friend_user_id,is_confirmed`
    Then STDOUT should be a table containing rows:
      | friend_user_id | is_confirmed |
      | {SALLY_ID}     | 1            |
      | {JOHN_ID}      | 1            |

    When I run `wp bp friend remove {BOB_ID} {SALLY_ID}`
    Then STDOUT should contain:
      """
      Success: Connection successfully removed.
      """

    When I run `wp bp friend remove {BOB_ID} {JOHN_ID}`
    Then STDOUT should contain:
      """
      Success: Connection successfully removed.
      """

Youez - 2016 - github.com/yon3zu
LinuXploit